Questions tagged as 'laravel'

1
answer

Run unit tests with Phpunit in lumen

Hi, I have a project of lumen with the file phpunit that comes by default that is just like this one <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstra...
asked by 28.02.2018 / 14:01
2
answers

Error uploading images in Laravel

I am doing a blog in Laravel, the posts have images and when creating a post an image is uploaded. If the post is created the image is uploaded perfectly but when the post is edited and another image is uploaded it does not go up and also the ad...
asked by 16.02.2018 / 00:53
1
answer

No message in form

I have a User table, which among its variables has a call balance, which is of integer type and is to indicate how much money a user has. I want to make a form which the user writes a number. If the user's balance is zero (or equal to 0), this n...
asked by 17.02.2018 / 13:26
2
answers

Help in laravel excel

I would like to know how I can place dates to the names of the excel documents in laravel to be able to know on which day the file was exported I would appreciate your collaboration     
asked by 12.02.2018 / 20:33
1
answer

Filter the values of a table according to foreign variables

You see, I have 3 tables: the plants, the users and the comments. The comment table has foreign keys that point to a specific plant and user. With that in mind, create a view which shows the comments by filtering them according to what plant...
asked by 12.02.2018 / 13:13
1
answer

error to consume api rest from ionic

I have a rest API created in laravel and when I try to consume it from ionic it generates an error that I have not been able to solve. I have thought of placing a condition that when the route is api I throw the data in json otherwise I send the...
asked by 05.02.2018 / 01:57
1
answer

Help Laravel 5.5: auth :: attempt returns false

I have a login that worked perfect with the id in its respective table, change the migration so that the primary one was username (in table users), deleting the id, I put in the model the new primaryKey "username", but the auth::attempt a...
asked by 31.01.2018 / 13:33
1
answer

Laravel, show a user depending on the date (L-V)?

I want to do in laravel that shows a User depending on the day of the calendar. Suppose I have a DB with N users, and they must cover one day of guard in the L-V job in order of 1-N, ex: -Thursday 2 August: "It is up to you to guard the Us...
asked by 02.08.2018 / 21:26
1
answer

send two data in a select in laravel

What happens is that I want to send two parameters by means of a json in ajax to the laravel driver, but I do not have the slightest idea of how to select to receive the parameters, I would like them to help me with it Here I leave my driver cod...
asked by 19.02.2018 / 21:12
2
answers

Get data between 2 laravel dates

Through the 2 inputdate I want to get all the records included between them 2. I have the query built but when I hit the search button nothing happens just shows me the 2 data in the firefox bar, I would appreciate your help My driver...
asked by 10.01.2018 / 20:54