Questions tagged as 'laravel'

1
answer

How to send email by laravel?

I have the following routine implemented in Laravel $prestadores = \App\Prestador::all(); Mail::send('emails.listaprestadores',['prestadores' => $prestadores], function($message) use ($prestadores){ $message->to('marcelo@mgsis...
asked by 12.11.2016 / 04:10
1
answer

Route error when accessing the page in Laravel

   composer require mnabialek / laravel-eloquent-filter The error below appears, I did not make any changes besides executing this command. ReflectionException in Route.php line 333: Method App \ Http \ Controllers \ AdvertisementC...
asked by 23.10.2016 / 02:36
1
answer

Routes in Laravel

Route::group(['prefix' => 'painel', 'middleware' => 'auth'], function() { // }     
asked by 27.10.2016 / 18:45
2
answers

Laravel 5.3 - How to change the password of a logged in user?

I'm having trouble creating a method that will allow me to provide a password change form for logged-in users. I would like to use the methods of the class: App \ Http \ Controllers \ Auth \ ResetPasswordController. Currently I have a view wi...
asked by 27.10.2016 / 16:22
1
answer

Type error in update Laravel

Error is appearing:    Type error: Argument 1 passed to   Illuminate \ Database \ Eloquent \ Model :: update () must be of the type   array, object given, called in   /var/www/html/laravel/app/Http/Controllers/PropertyController.php on   li...
asked by 07.11.2016 / 00:25
1
answer

How to upload files by sending the attachment as email in laravel 5.3?

I'm making a page of work with us with uploaded files (resumes), I would send this file by email attachment, but I'm kind of aimless. Can anyone help me? Controller public function trabalheConosco(RequestNewsletter $request) { $dat...
asked by 11.10.2016 / 14:41
1
answer

How to insert multiple rows from a single query using the same ID

I'm trying to make multiple inserts using the same ID with Laravel but it's only doing 1 insert. The idea would look something like this. ped_cod|est_cod|ped_qtde 8 |2 |9 8 |3 |2 8 |4 |2 8 |9 |15...
asked by 22.09.2016 / 16:43
2
answers

Bug change position of laravel site banners

I am developing a site where it has a modal banners and want to set a field in the database of the "order", where I can decide which banner appears first, second, third ... in my admin panel I I have a list of all banners and banner that is thir...
asked by 22.09.2016 / 17:03
1
answer

Return select field value in Laravel

How do I return the value that is in the bank of a select field and continue showing the other options for editing: <div class="form-group"> <label>Tipo de imóvel</label> <select name="tipo_id" class=...
asked by 23.11.2016 / 14:34
1
answer

PagSeguro and PagSeguroConfigWrapper

I'm working with PagSeguro in Laravel 5.3, the problem is the Class PagSeguroConfigWrapper that I need to generate to do the authentication, I do all the steps described in the documentation and it works only if I use the authentication after th...
asked by 09.11.2016 / 17:04