Questions tagged as 'laravel-5'

1
answer

Error in date Laravel Excel

I'm using the Laravel Excel library and so far I've done well in many different file formats, etc ... The thing is that now I have the following case: In the excel file they pass me a date in dd / mm / yyyy format and without treating it or...
asked by 07.10.2016 / 14:16
1
answer

How to get a list of events from the current date?

Actually, I have the solution, but I want to know if there is a more efficient solution. What I need are the events that have not yet expired so to speak. Within a base with all the events. Basically what I do is get the events with an OrderB...
asked by 07.10.2016 / 16:13
1
answer

How to make the msj with laracast / flash have the closing button?

I'm using laravel 5.3. and the laracast / flash package In yes the msj show correctly but the closing button of the flash window does not appear. According to the laracast documentation now the use should not be placed. So I use it: in...
asked by 05.09.2016 / 17:36
1
answer

How to validate the order that the images are selected

It is difficult to find a title that details. step to explain. I have a form where I enter up to 5 images. But only the first one requires it if or if (as the main image of the article). The other 4 are optional. These images are entered with...
asked by 07.11.2016 / 13:25
0
answers

Validation with form request in pivot table laravel 5

How can I occupy a form request in pivot tables to validate, since these pivot tables do not have a controller or model. I have a controller which is responsible for making the attach to the pivot table and also to insert the extra columns. I ha...
asked by 14.09.2016 / 04:53
1
answer

Missed Closure Tags in source code

I started using CodeFormatter in sublimetext3 to sort the code. uses a style called psr2. The issue is that it generates labels of closures for link, meta or br, that normally did not put them. <head> <meta charset="utf-8">...
asked by 05.10.2016 / 05:10
2
answers

Queries with laravel and eloquent

Good day, I'm starting with laravel and I developed a page to practice. I have these two models: class Personas extends Model{ protected $table = 'persona'; protected $primaryKey = 'id'; public $timestamps = false;...
asked by 03.10.2016 / 10:56
1
answer

Laravel + Polymer | I can not import html from a web components

I'm using LaravelCollective, {!! Html::style('http://localhost/prueba/bower_components/paper-button/paper-button.html', array('rel' => 'import')) !!} I get the following error in the browser console:    (Imported resource from origin...
asked by 10.08.2016 / 21:05
2
answers

Retrieve the value of a select from a form

I have a form with a single select where it is automatically filled with a mysql table, the detail is that I want that when someone selects an option and clicks on the send button, I can recover that value to be able to make a consult and show t...
asked by 05.07.2016 / 03:22
2
answers

Laravel | Problem with different cipher bcrypt

In the user registry I save the key with bcrypt, and in the authentication I make a return of the password and it gives me a different hash value of how the key is in the database, look: db key: $ 2y $ 10 $ 5HZ4raSDAB8WHJgG07yXU.1.9t2M / V3rt...
asked by 05.07.2016 / 21:11