Questions tagged as 'laravel'

2
answers

Add property to Eloquent object in Laravel

Using Laravel I query a table called Purchasing that extracts the fields purchase_id, product_name, price, purchase_date , and returns them to a json object, everything goes well . What I want to do is add a final property with the average...
asked by 05.07.2018 / 02:29
2
answers

Help with migrations in Laravel 5.5

When I perform the classic migration to start my BD in PHPMyadmin I get these errors, but to all this it generates the 2 tables by default but other tables no longer accept me ... Someone can help me please is urgent    c: \ xampp \ htdocs \...
asked by 27.04.2018 / 05:42
1
answer

There is a cron in laravel

I would like to know if laravel has a library to perform tasks (in my case sending emails) every N amount of time?     
asked by 13.12.2016 / 01:20
1
answer

Problems uploading files in Laravel 5.5 project in a hosting

I am uploading a Laravel 5.5 project to the free 000webhost hosting. A user can upload images to a post, when I try it on the computer without uploading it to a hosting it works perfectly. The image is uploaded to the public / image folder of th...
asked by 12.04.2018 / 03:26
1
answer

Class App \ Http \ Requests \ TagStoreRequest does not exist

Hi, I'm trying to save / Update But when I try to do that, an error occurs. Class App\Http\Requests\TagStoreRequest does not exist Class App\Http\Requests\TagUpdateRequest does not exist In this example I have this: in my TagStoreReques...
asked by 08.05.2018 / 08:04
1
answer

Laravel empty and white page

I have a page in Laravel and the view by id was working but now I only get a blank page and it stops showing the title of the page and only says localhost: 8000 Why is this happening? This is the page that gives you click to appear by id:...
asked by 23.03.2018 / 08:18
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

Block in datepicker bootstrap date range from BD

I have a daterangepicker which receives dates from the backend, to block those dates in the datepicker. I have been reading the documentation of moment.js, and its respective method isBetween , and also the plugin of range , besides...
asked by 23.08.2018 / 15:48