Questions tagged as 'laravel'

2
answers

Problems in Laravel Resources 5.4 within Groups

I have problems trying to access some routes that come from a resource ( products ), it is inside a group, it follows my code: Route::group([ 'middleware' => ['web', 'auth'], 'prefix' => Config::get('shop.admin.url') . '/products...
asked by 27.07.2017 / 21:49
0
answers

Laravel: Fill form with form :: model

I use the same form to register and edit, so I have that if else to show form . Since I have the Convenio and Endereco table, I need to get the address information through with , my question is how to fill out the for...
asked by 01.08.2017 / 17:25
0
answers

Error in npm run watch - Can not read property 'install' of undefined

This error occurs when I do a "npm run watch". When I do a "npm run dev", it does not give this error. I have reinstalled all the npm and it did not solve ... any solution?     
asked by 18.07.2017 / 06:03
1
answer

Laravel NotFoundHttpException

I had a project on my machine where I created the laravel via    $ laravel new application I copied this project to another machine with the perfect xamp like the one of the tool of development, but when I go to the route    Route :: g...
asked by 28.06.2017 / 19:48
1
answer

Laravel pagination with search filter? [duplicate]

I have a search filter on my home screen. When I search, POST the filter data and I can not get the pagination link redirected with the search filters. Every time I have a filtered search and I click on any of the links this filter is lost....
asked by 02.06.2017 / 15:42
0
answers

Problems with DOM PDF PHP

I am generating a document and this error is appearing:    Call to undefined method Dompdf \ FrameDecorator \ TableRowGroup :: get_cellmap () My impression method is developed like this: public function imprimircumpom(Request $request,...
asked by 04.06.2017 / 17:15
0
answers

How to pass a query to Eloquent?

I'm trying to translate a SQL to Eloquent , where it gets an id ( $myid ) and returns the clothes combinations, clothes and I have another table combinations_clothes and in this case I have a relation m...
asked by 19.06.2017 / 00:30
0
answers

Error with accent in laravel email

In the .env file of my application in Laravel I set a default name for sending email eg MAIL_FROM_NAME='Registro Jurídico' and in the inbox Registro Jur?dicdico , what can I do to fix this? I use Laravel 5.4     
asked by 20.06.2017 / 00:37
1
answer

Constraining Eager Loads Returning Unfiltered

I have a problem with eager loading in Laravel 5.4.24. Following the documentation, I added the code: $profiles = Profile::with(['platforms' => function ($query) { $query->where('name', 'PC'); }])->get();...
asked by 01.06.2017 / 00:04
1
answer

Typeahead js Autocomplete in Laravel?

I am implementing AUTOCOMPLETE typeahead js bootstrap in my application Laravel and it works perfectly, currently it only returns the name of the municipality of the municipalities table, except that of this table I want to return two...
asked by 08.06.2017 / 21:33