Questions tagged as 'laravel-5'

1
answer

Custom errors of 400, 404 and others

How can I customize 404, 400, and other errors in Laravel 5.6? I have my error pages listed in the errors folder inside view     
asked by 06.04.2018 / 05:48
2
answers

The user is not registered in the database

Good evening, I'm using laravel 5.6, and I have a problem trying to register a user with ajax, because this is not registered in the database and does not generate any errors in the log. Edit the record that Laravel has by default and in the con...
asked by 19.05.2018 / 02:28
1
answer

Is it possible to migrate with laravel without losing the data in the tables?

I have my tables sent directly from laravel, but when I modify some, to add a field or remove it, at the moment of doing the migracion with laravel, I lose all the data that the tables have, there is some way to make these migrations with...
asked by 18.05.2018 / 19:43
1
answer

Show quantity of items and search input in Datatable AdminLTE?

I am developing an application in Laravel 5.6 and implement AdminLTE , everything works correctly and implements the corresponding files of both js, css and the sample structure of the html. But my result is the following: This is my:...
asked by 13.03.2018 / 19:04
2
answers

pass variables in Laravel

I'm starting to create a CRUD. In the index method of the controller I have put this: public function index(){ $productos=Producto::get(); return view('productos.index')->with('productos',$productos); } And in the index.blade.php...
asked by 08.02.2018 / 13:19
1
answer

laravel calculus age

Help I need to calculate the age, I have the date of birth but I do not find the function, this is what I have <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12""> <div class="form-group"> <label for="fecha_nacim...
asked by 24.05.2017 / 02:45
2
answers

Query in laravel with Relationships from blade?

Good I have the following tables Users Requests Servers Which are related as follows. A User has several Requests A Server has several Requests Now what I need is to obtain all the servers associated with the requests that th...
asked by 02.06.2017 / 23:50
2
answers

Advanced consultation with Relationships in laravel

Good, basically what I want to generate is a query that returns a list of users, that have as excacto value the result of the difference of two fields. In other words, I have the user table that has the fields ndias and diasconsumidos. CUR...
asked by 10.05.2017 / 00:35
2
answers

How is @forelse interpreted in laravel and what is it for?

I would like you to help me understand how the @forelse is applied in laravel .     
asked by 10.07.2017 / 08:08
1
answer

Understanding the queues or tasks

I have finished the part of an application dedicated to backups. Now when I try to implement it using the queues and tasks of laravel 5.3, I feel incapable. I have some sort of commands cpr:backups {full|acct} {full|account} {daily|weekly|m...
asked by 29.10.2016 / 11:42