Questions tagged as 'laravel-5'

1
answer

how to modify my profile according to a user's ID In laravel + Vue

Hi, I'm new to laravel And I have a problem when it comes to obtaining the data according to each Account. I do not know how to send the unique ID of my account to a Vue + axios so axios automatically shows my information according to the accoun...
asked by 26.03.2018 / 20:12
1
answer

laravel filter results by date range

Hi, I need to filter according to a particular range of dates. I'm trying to do it on my own but it has not gone well. It is giving me this error. I want to filter by the field Date_emission below is the model of my table "SQLSTATE[22007]: Inv...
asked by 07.06.2017 / 17:37
1
answer

Filtering in laravel with datatables does not work with mysql

I am using Laravel 5.3 and the latest version of the dataTables plugin. Before working with postgres, migrate to mysql for needs of the db, then I encounter a problem, the custom filtering throws me an error that is as follows:    SQLSTATE [H...
asked by 08.06.2017 / 21:49
1
answer

Migrate some tables in laravel?

Hello I have a database already created with some tables and records in them, this database was previously created with laravel. Now what happens is that it was necessary to modify some relationships between the tables from the laravel miagra...
asked by 02.06.2017 / 18:36
1
answer

URL encoded% 7B% 7B $ -% 7D% 7D /% 7B% 7B $ -% 7D% 7D

I have a route that sends all data well to the controller, but when the data arrives at the URL the data becomes symbols. I understand that %7B%7B$ dato %7D%7D is the same as {{$dato}} Does anyone know how to avoid this? p...
asked by 21.07.2017 / 02:29
1
answer

Connect a remote database in Laravel

I am developing an application with Laravel 5.2 and I must connect a remote database, to do it from the command line I type. mysql -u root -p -h 'remote_ip' --skip-secure-auth Doing this does not send any errors, I want to do this from L...
asked by 30.05.2017 / 00:59
1
answer

What are the providers, aliases and their differences? [closed]

Hi, I'm good knowing Laravel and I'd like to know what the providers and aliases are in the file cofifg \ app.php and what their differences are.     
asked by 01.06.2017 / 23:17
1
answer

How to make a tour of N records in Javascript

I have this code that verifies me if the id number entered in a form exists in the registry: callAjax("http://page.app/serial?" + Date["now"](), function (a) { console["log"]("resultcheck", a); try { a = JSON["parse"](a) } catch (e) {...
asked by 21.05.2017 / 21:25
1
answer

Make a generic validation method in laravel

I am trying to improve my code a bit and since I have to validate several methods of several controllers, I would like to do a generic method in the Controller Controller, and redirect the validations there. I have tried several options but I ca...
asked by 08.04.2017 / 12:29
2
answers

Consult intermediate table with datatable in Laravel 5.2

I have the product table and the customer table, both with the columns: id name. And also, an intermediate table called clientes_productos with the columns: client_id product_id date_changing Models and relationships a...
asked by 13.03.2017 / 23:00