Questions tagged as 'laravel-5.1'

1
answer

How to filter time in a datime field in eloquent?

How can I compare if a time is equal to a time stored in a datetime column using Eloquent?     
asked by 25.10.2018 / 19:24
1
answer

Is it mandatory to go through Mutator / Accessor?

I just faced a problem in Laravel 5.1 . Imagine that I have the following: Model class User extends Model{ # Mutator public function getNomeUpperAttribute(){ return strtoupper($this->attributes['nome']); } } Con...
asked by 14.10.2016 / 16:24
1
answer

Problem with application Laravel + AdminLTE

My problem is this, the application I'm developing has a client listing, which uses the following code to display: <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box...
asked by 03.10.2017 / 20:03
0
answers

Add data to database only after account validation by SMS. - LARAVEL 5.1

As the title suggests, I wanted to know a way to just send user data to the database after it has confirmed the confirmation SMS, thank you if anyone help me. Using laravel version 5.1.     
asked by 26.10.2018 / 14:16
1
answer

Error writing a collection of checkboxes

Live, I'm using laravel 5.1 and after submitting a form that has a collection of checkboxes array:3 [▼ 0 => "24" 1 => "26" 2 => "32" ] I write the record and then in a related table I insert the record block if( $auto-&g...
asked by 01.02.2018 / 03:25
2
answers

Laravel 5.1 problems with csrf_token

I have a problem in my site made in laravel, the following happens my application in laravel is not returning the Session Token that would be {{ csrf_token() }} when I perform an action like registering or logging the same I return the fo...
asked by 17.05.2017 / 14:40
2
answers

eloquent save () method does not work

When I try to use the save() method of eloquent-laravel 5.1, in the way it asks for documentation, the update is not done in the database. This is how the documentation asks for it: $flight = App\Flight::find(1); $flight->name...
asked by 07.02.2017 / 00:40