Questions tagged as 'laravel'

2
answers

How to pass parameter in a route?

I have a simple test routine, which is not working in the final part. The idea is to query a MySql database and compose a page with the result, which works correctly. By clicking on a link in a line of this composite page, line data should be...
asked by 02.02.2016 / 11:49
1
answer

Homestead Laravel problem with Drive Postgres

Has anyone here had this one with Homestead and postgreSql? My application is giving this error. PDOException could not find driver I've already looked in some places but nothing ... Thanks for the help!     
asked by 27.02.2015 / 00:58
1
answer

How to authenticate multiple user groups in Laravel 5?

I'm trying to create an environment in laravel 5 where there is the customer access area (Front of Shop) and the administration area of pages, products, etc. (CMS), but the problem is that I can not find a way to split the sessions, for example:...
asked by 26.03.2015 / 03:59
1
answer

API in Laravel receive JSON POST and write to database

I will receive through the API a JSON with this structure: {"leads": [{"id":"1", "email":"[email protected]", "name":"Bruno Ghisi", "company":"Resultados Digitais", "job_title":"IT", "bio":"This is my bio...
asked by 25.03.2015 / 18:53
1
answer

Prevent undue access in the RESTful API

I'm developing a RESTful API with Laravel PHP that will be consumed by an Android application, the API is consumed only by the application, there is no web system. I am learning RESTful, and during the learning I was left with a doubt. I get...
asked by 21.05.2015 / 10:03
0
answers

Create Groups and Group Items Within

I have the following problem, I have a table with items and I need to create groups and name each item to its due group. I already distribute them by categories, which in the case I call 'families', however I need now to group them respectively...
asked by 07.11.2018 / 12:59
0
answers

Google Maps request limit expires with only 1 request in laravel

Hello, I'm testing a google maps API for my laravel project ( link ) and when I make a map request only limit of API requests expires, I would like to know if anyone has already used this API in laravel and if they have any idea why this occurs....
asked by 21.09.2018 / 16:23
2
answers

How to make two WHERE clauses inside a nested WITH

I have the following code snippet $sectors = Sector::where('company_id', $id) ->where('status', '0') ->with('charges.levels') ->get(); I need 3 conditions sector status is 0...
asked by 19.09.2018 / 16:04
1
answer

How to use DOMPDF in Laravel 4 in conjunction with a view in BLADE?

I need to generate PDF report in Laravel 4. I found several alternatives and I'm in doubt about which option is best: DOMPDF ( alternative link ) It seems very easy to use, since it is our good old HTML plus CSS, however I did not unders...
asked by 23.12.2013 / 19:10
1
answer

Execute a task at any given time

I am developing a system of deadlines and alerts. The user will register a deadline, date and time of the term and define if he wants to receive the alert with 1, 2 or 3 hours in advance. How can I perform a function that checks and is it tim...
asked by 08.08.2018 / 14:43