Questions tagged as 'laravel'

2
answers

Group route does not work in Laravel 5

Good evening guys, how are you? I have a problem with Laravel 5 routes. I have a group of routes for the administrative panel of the site (routes with prefix panel) and inside the group I want the first page to be exactly in the "root". See the c...
asked by 16.05.2015 / 00:45
1
answer

Lumen blocks only one route in CORS, all others run

I have a system that was working, but suddenly it stopped working. "I've been using Lumen with the package barryvdh / laravel-cors, the whole site works except for a public form that gives me this error . The request is made through Angular:...
asked by 30.07.2018 / 13:37
2
answers

Problem with vagrant up - homestead-7 already exists

I really need some help. I'm trying to install laravel using the homestead. I followed a step-by-step but could not access index.php, so I decided to do it all over again. But when I give a vagrant up it appears that the homestead-7 machine alre...
asked by 28.06.2018 / 23:41
3
answers

Installation of Laravel

Is it possible to install Laravel on any shared hosting? Or the requirements for installation are very specific.     
asked by 27.02.2014 / 14:28
1
answer

Querying child objects that satisfy condition on parent objects, Relationship with eloquent laravel

I have two tables in my project that relate, but I would like to make a query consult that would bring all the child entities that one field would be equal to the parent entity, being for all parent entities that satisfy a specific condition....
asked by 17.10.2017 / 13:01
1
answer

Build query on Laravel

'update 'table' set is_available = 0 where id_restaurant = 303 (and weekday = ? or id = ? )' $weekday = $request->input('weekday', ''); $table = $request->input("id", ''); //Query em construção DB::table('table')...
asked by 01.10.2018 / 15:43
1
answer

Crud with Eloquent Laravel

I'm trying to do a CRUD with Eloquent Laravel in 2 tables with FK and PK, but I'm not having success, since the models only lack the CRUD function, can anyone help me? This is model with FK: class crud_consignado_acordo extends Model {...
asked by 22.09.2018 / 19:14
1
answer

How to install Laravel on a server?

In Wordpress, for example, we use ftp to send files. However, in Laravel is used composer, and by what it seems it is installed locally. How do I install to a same web address? I hope it makes sense, and forgive me for the rough question! Tha...
asked by 01.05.2016 / 02:31
1
answer

I need to return this JSON with Laravel eloquent

My Json: { "data":[ { "data":{ "name":"Documents", "size":"75kb", "type":"Folder" }, "children":[ { "data":{ "name":"Work",...
asked by 23.03.2018 / 14:11
1
answer

404 when access via route edit

My viewer @extends('tamplate.menu') @section ('content')      Products     Home                                                    New item                                             Description                 Price                 Amou...
asked by 27.10.2017 / 17:37