Questions tagged as 'laravel-5'

1
answer

Search engine by filters in laravel

I'm doing an advanced search. Basically, what I have is a button (Filter) that opens a modal with a form (method = GET) and four entries (name, code, start_date, end_date). What I have to do is, for example, if I just filter for the name fiel...
asked by 16.11.2017 / 13:23
0
answers

Is it possible to use Laravel Dusk with Behat in a Laravel 5 project?

I am using laravel 5.5 and would like to know if I can integrate Behat into it and use the Dusk functionalities in the FeatureContext file generated by Behat, where the characteristics of my tests are created as functions of the class. In this c...
asked by 15.09.2017 / 16:43
1
answer

How to transform a docx file to pdf?

Hello friends what happens is that I want to convert a word document to pdf, I can suggest something because I have searched many ways and do not occur, I always damage the documents that are generated when trying to convert them, and use phpwor...
asked by 23.08.2017 / 21:49
0
answers

Send email from laravel 5.4

config / mail.php return [ 'driver' => env('MAIL_DRIVER'), 'host' => env('MAIL_HOST'), 'port' => env('MAIL_PORT'), 'from' => [ 'address' => env('MAIL_FROM_ADDRESS'), 'name' => env('MAI...
asked by 23.08.2017 / 00:17
1
answer

Laravel 5.4 View composer with data from a $ request controller

I've been trying to get variables for several views for a long time. Basically what I need is to do this: class VarComposers { public function compose(View $view ){ $user = '555'; $view->with('user', $user); } }...
asked by 04.08.2017 / 22:36
0
answers

Error Request Laravel 5.1

I have an error that when using a request created by me and put required it throws me an error that it was not filled (it is a select that I bring data in ajax ), if I use the Request $request in my post method insert it without p...
asked by 09.08.2017 / 15:46
0
answers

Error: Trying to get property of non-objet

I try to create an array after a query. It gives me the error of trying to get property of non-objet Controller: public function index() { $diccionario=MDiccionario::all(); $categorias=MCategoria::all(); $diccionario2=array...
asked by 03.08.2017 / 12:51
1
answer

Show product images in the home laravel

I am working on an application to make quotes. Use Laravel 5.4 and I need help to know how do I load the image of each product? I hope you can help me. Thanks in advance This is the code of the view home.blade.php @extends('layouts.app') @...
asked by 17.08.2017 / 20:55
1
answer

How can I send Json from angle 4 and work them in laravel 5.4

In the Front Angular I send it like this Register(register:RegisterUser){ return this._http.post(this.url+"auth", JSON.stringify( {'name':register.name, 'email':register.email, 'password':register.password}) ,{...
asked by 28.08.2017 / 20:10
1
answer

Download .sql file to Postgres heroku

I am implementing a larvel project, this already has a populated database. Now I need to deploy this project in Heroku but I can not make the migration from my .sql file to postgres Heroku. I have tried with the documentation but the single inst...
asked by 26.07.2017 / 18:56