Questions tagged as 'laravel-5'

1
answer

How to configure Virtual Host on Ubuntu VPS Server, Laravel + AngularJS?

Currently I have a project where I separate the part of the backend and frontend, for the backend I use laravel and for the front I use AngularJS, this separated into two folders api (laravel) api_front (angularjs), both inside the folder proje...
asked by 18.03.2018 / 07:27
0
answers

How to install Laravel 5.5 on Cloud9?

Installing Laravel 5.5 on Cloud 9 Procedure to create a workspace in Cloud9 with laravel 5.5 1. Create Workspace in cloud 9 1.1 1.2 1.3 2. Update version of php 5 to 7.1 2.1 we check the current version of...
asked by 06.05.2018 / 04:49
3
answers

Error in laravel when doing post Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message

I'm doing a simple CRUD in laravel 5.5 along with laravel colective but simply do not send me the post in fact or acknowledge the request: There are my routes Route::get('/admin/products/{id}/edit', 'ProductController@edit')->name('Edit...
asked by 27.03.2018 / 05:27
2
answers

add id in Form :: text in laravel

in the inputs normally lets add an id="datum1", but if I'm occupying laravel I do it this way but it does not recognize me, what form is added in laravel since I need the input id for a script {!! Form::text('country_destino',null,['class'=>...
asked by 01.11.2017 / 05:51
1
answer

Laravel Form, Select from a Foreign Key

Table Products:    Primary Key- > product_code Movements Table:    Primary Key- > code_movement / Foreign Key- > product_code These would be the two tables to relate, and I use the Laravel collective I'm supposed...
asked by 07.09.2017 / 09:02
1
answer

"Route [demanda.estado.update] not defined" but exists in the resource controller, Laravel 5.4

StateController public function edit($id) { $estado=Estado::findOrFail($id); return view("demandas.estado.edit",["estado"=>Estado::findOrFail($id)]); } public function update(EstadoFormRequest $...
asked by 28.09.2017 / 15:48
1
answer

Set default values for route parameters in laravel

I am trying to make an api rest for the paging of a data table (daily bread when in CRUD), but I want to make it possible to put default values in the parameters that determine the current page and the number of items to return if not specified...
asked by 09.04.2018 / 16:36
1
answer

How do I solve problems with laravel 5.2 page?

I'm doing a query with laravel, and when I paginate, I get an error that says - The paging method does not exist (Method paginate does not exist.) On the one hand in the controller, I call the query and page as follows: $img_ventass = Img_v...
asked by 07.07.2017 / 07:27
3
answers

Each returns null in relations laravel 5.4

I have been practicing laravel and there is something that does not work for me and I do not finish understanding or reviewing the documentation. It turns out that I want to call the related objects between tables to get their other da...
asked by 21.07.2017 / 06:44
2
answers

Laravel 5 WithInput error

I am trying to have an error in the login form return me to the record view keeping the data in the form. with a return back () -> withInput and it makes the return correctly but it does not show me my data here is the code: RegistryController:...
asked by 05.03.2018 / 12:34