Questions tagged as 'laravel-5'

0
answers

How can I update a form with ajax in laravel?

I have this small table in the options column on the second button that is to edit, I would like to click on it to open a modal like the one shown below. that I will upload the data and that I can change the values that I want acc...
asked by 23.04.2018 / 15:59
1
answer

Format HTML to show in the view

I am using Laravel 5.4, and I retrieve a text from the formatted database using ckeditor <p><strong>Lorem ipsum dolor sit amet, consectetu</strong></p> I know that the blade uses {!! !!} to format it but this time I...
asked by 17.04.2018 / 15:35
0
answers

send emails asynchronously with laravel 5.5

How could I send an email asynchronously or call the function. So that the process of sending the mail is not so slow. I did the shipping process in the following way, but there is still time processing for the shipment php artisan make:mai...
asked by 16.04.2018 / 03:52
1
answer

Laravel 5.6 Debug does not work

I do not know what to do anymore, debug de laravel 5.6 does not work. Logically I have = true in the .env file and in app.php and it still does not work probe also with the php artisan config commands: cache and nothing, if I do a dd (config ('a...
asked by 13.04.2018 / 04:47
1
answer

Problems sending items to my view

I'm having problems sending collections to my blade view. in my controller I have implemented the index function in this way: public function index(Request $request) { $productos = Producto::latest() ->take(5...
asked by 13.04.2018 / 16:48
1
answer

How to apply a url using Blade Laravel in javascript

I am using typehead mixed with prefecth for the auto completion of a field called rut, at the moment of requesting information from a JSON file if I use the route calling it in the following way: prefetch: '/ providers / json' It does no...
asked by 09.04.2018 / 22:47
2
answers

Error running Laravel on a hosting

When loading Laravel in a shared hosting and the project within a subdirectory the following error started to appear:    PHP's json extension is required to use Monolog's NormalizerFormatter I currently use version 5.6 of...
asked by 08.04.2018 / 19:17
1
answer

Laravel Ask WHERE NOT IN

I have the following SQL query SELECT * from autor where autor.Id_autor not in (select ca.fk_autor from cntrl_autor ca join autor a on a.Id_autor = ca.fk_autor where ca.fk_doc=7993) How can I convert it to how the...
asked by 30.03.2018 / 00:14
1
answer

Use of the WHERE NOT IN in Laravel

I want to obtain the books without repeating that there is in the table book but if they are not already added to the table lineapedido with the client that is making the query. Instead of that, with the following code I get the books that are i...
asked by 26.03.2018 / 22:16
0
answers

dompdf en laravel 5.5

I need to create a pdf that shows three sheets with different information in each one of the sheets, in principle to generate a pdf in laravel, you get help from a view where you model the information you want to show. But in this case I need to...
asked by 04.04.2018 / 16:09