Questions tagged as 'laravel-5'

2
answers

friendly url from laravel form 5.5

I have the following url with multiple filters given from a form link the url looks like that but I can not make it look like this link I'm using this but it does not work because since it's not a url, it's a request. Route::ge...
asked by 03.07.2018 / 18:54
0
answers

Obtain errors from controller via ajax and interpret them with axios and vue js

I am putting together an application which I work with laravel, for the use of java script use vue js and for sending data I use axios. My problem is when I try to apply the rules of laravel, although the message returns to me, trying to pass...
asked by 19.06.2018 / 08:53
1
answer

Apply middlewrae to a LARAVEL route

I would like to know how I can apply a middleware to a specific route in Laravel 5.6 , what I intend is that only logged-in users can access the route. Route::get('https://josearandav.github.io/Tea-Docs/docs/', function () { return view()...
asked by 19.06.2018 / 01:39
1
answer

laravel 5.6 related models to related models softdeletes

I have in the model Finca.php public function piscinas(){ return $this->hasMany(Piscina::class)->select('id' , 'finca_id', 'area' , 'name'); } public function getPiscinasPlanificadasAttribute(){ return $this->hasMany(Pisc...
asked by 15.06.2018 / 03:43
1
answer

Send email from several directions laravel

I have 2 emails to send notifications to my users one is [email protected] and the other [email protected] the issue is that in the .env file I can only configure one if I add another configuration it does not take it from what form can...
asked by 13.06.2018 / 22:58
0
answers

how to send an array that has a key x and that key contains another array with the responses of an input

hi all my problem is the following, I have these inputs where I send user information especially this is where he sent the information <input type="{{$tag->tag_type}}" class="form-control" value="{{$option->option_value}}" name="t...
asked by 14.06.2018 / 22:53
0
answers

Trigger in vue js and laravel

I'm doing a section to edit the selection of municipality and city I select them with this function: $("#departamento").val('{{$usuario->fk_id_departamento}}').trigger("change"); which works but when I change the function I use with V...
asked by 11.06.2018 / 17:19
1
answer

Problem with date format

You see, I have the following form, which is to extract the rows of a table that are between a certain date: @extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center">...
asked by 11.06.2018 / 17:58
1
answer

Error starting a project in laravel from localhost

I am developing a project in laravel in windows 10, but when trying to start it from localhost to be able to execute what I have done it does not leave me, it shows me a list of folders when I place the route and when entering the public folder...
asked by 15.06.2018 / 15:40
0
answers

client does not receive data with websocket laravel echo and socket.io

I have set up a server with laravel-echo-server, redis and I have configured an event to be able to transmit it over websocket but it has not worked, the queue and the server transmit the data but I can not get them in the client. Conf. larav...
asked by 14.06.2018 / 04:24