Questions tagged as 'laravel'

1
answer

Account verification via email

Implement the user account verification via email, but even without verifying the user can log in, I tried to avoid validating the confirmed field of the user table (which by default is zero and changes to one when the account is verified) every...
asked by 14.03.2017 / 16:33
0
answers

Login system in Lumen

It's my first experience with the Lumen framework (version 5.4.5) and I'm having problems with the login system. The official documentation does not say anything beyond how to obtain the user identified in the system, and what directives to u...
asked by 17.03.2017 / 12:20
0
answers

Show data in Laravel

I have two tables ( alumnos and Colegiaturas ) but I would like to be able to show the monthly payments made by each student omitting the months that have not paid, Example: Alumno Enero Febrero Marzo Carlos Si X...
asked by 07.07.2017 / 22:17
2
answers

How to redirect with login in laravel 5.4 with entrust and adminlte?

I'm starting with laravel and I'm going through the blade management part using adminlte as practice and now I'm starting the roles part and user permissions for that and chosen to use entrust and everything is going very we...
asked by 07.05.2017 / 22:47
2
answers

Error changing the name of the email column to email in login laravel

I want to change the name of the column "email" to "mail" in the default login of laravel, but it is giving me problems, I spent some time looking at this and within this function, which is what is called when I do the login. (This is located in...
asked by 16.05.2017 / 18:25
2
answers

money_format () expects parameter 2 to be double, string given

In the following expression in which I want to format some values: @foreach($price_list as $price) $number = ($price->price_normal); setlocale(LC_MONETARY, 'en_ES'); echo money_format('%i', $number) . "\n"; @endfoerach Res...
asked by 30.07.2017 / 02:30
2
answers

How do I describe data in a laravel blade?

I have a data that comes from the encrypted controller, this with the intention that the user does not see a data that I bring from the controller, I do not know if there is another way to do this. The data is encrypted as follows: $valores...
asked by 30.07.2017 / 03:58
1
answer

Condition If in sight, laravel

Good, I have a list of students in a view in which I can place observations. My query is how to create an "if" to show me the "add observation" only if you do not have any in the database and in case you already have an observation do not show t...
asked by 08.03.2017 / 22:54
0
answers

Foreach with references

Is it possible to use a foreach with references, to optimize the loop? private function getClientUnPaidSettlements() { $settlements = ClientSummary::query()->getUnPaidSettlement()->get();...
asked by 16.01.2017 / 22:24
0
answers

Error in Laravel, when running php artisan migrate: install

I have vagrant and virtualbox installed to perform the development environment. and when running vagrant up, it initializes the virtual server correctly, but when I run php artisan migrate: install I get the following error    [PDOException]...
asked by 19.11.2016 / 06:06