Questions tagged as 'laravel-5'

0
answers

Select with 2 values

I have a select that I fill the data with pluck, but then at the time of showing it in the view I do not know how to concatenate more values. Driver : public function lista(){ $productos = Productos::pluck('Codigo','Descripcion','PVP',...
asked by 14.09.2018 / 01:28
0
answers

Package to make reverse migration in Laravel 5.6

I want to know if there is any package that allows me to create the migrate from my database in postgresql in Laravel 5.6 and if so, how to use it. Edit1: The database is already created, the idea is to generate the migrate files based on t...
asked by 11.09.2018 / 23:01
0
answers

Is it possible to create a single login for multiple tables in Laravel, ie different models?

I am new to the world of Laravel and I am doing an application where I have 3 direct models, with their respective drivers and migrations, I wanted to create a login that depending on the type of user redirects me to other views, I have 3 tables...
asked by 25.09.2018 / 10:25
1
answer

verify purchase code api

I found an employment script and I want the registration of the purchase code to be optional to publish it on my website the route is divided by steps but exactly the step3.blade.php asks me to verify the purchase code thing that I do not want p...
asked by 03.09.2018 / 04:53
1
answer

I get an error when installing composer require caffeinated / shinobi to work with roles and permissions

It is the error that I get when installing in laravel for the use of roles and permissions     
asked by 06.09.2018 / 15:34
3
answers

How to avoid the Trying to get property of non-object in array?

Previously I asked a question about the same topic, but I still have problems with some views. I have a query or a result that throws an API to me using Guzzlehttp, which throws me the following array when I print with dd ($ user): array:1 [▼...
asked by 08.08.2017 / 19:56
1
answer

error with the / tmp folder

You see, I had a strange error with some Laravel files that prevented me from accessing my page. Note that the files that gave error were in the / tmp folder, so delete the entire folder. After that, apparently the page worked again, but now I r...
asked by 04.09.2018 / 18:31
1
answer

Laravel 5.6 Undefined variable: insurer

I have a driver where I made a function so that, according to a selected insurer, I returned the vehicles that are not registered in that insurer. When the function is executed, it sends me the error:    "Undefined variable: insurer" This...
asked by 28.08.2018 / 19:54
0
answers

Update a related model in belonsToMany (Laravel)

I need to update the information of a related table in two models I show the relationship in my entities, which has a form where more than one input is created and select which shows the information Query Model class Consulta exten...
asked by 28.08.2018 / 20:15
1
answer

My resolve of a Field in Graphql with laravel does not work

I'm trying to perform this custom resolver for a field, I used graphql in Node before, and it's the first time I use it with laravel, I do not understand why my resolver does not work.     
asked by 28.08.2018 / 15:03