Questions tagged as 'laravel'

1
answer

How to install only the autoload and laravel routes in a new project?

We are testing a new project for a high-traffic website (a few hundred, or thousands, of users per second) and wondered if there is any way to install only the route and autoload system for laravel. We will not need all the modules that come wit...
asked by 14.09.2017 / 17:36
1
answer

Javascript excerpt does not work

I do not know what I'm doing wrong, maybe it can be simple, but it does not give me the expected result. In creating the html component: <li class="dropdown notifications-menu"> <a href="#" class="dropdown-toggle"...
asked by 17.08.2017 / 01:21
1
answer

Google maps: map does not render via call javascript / jQuery

I need to embed a map in my project. However, from the tutorial of the API itself, I could not make it work, until they discovered that the problem was Bootstrap, or Laravel - or both, together. That is, although I am not sure, but under test...
asked by 30.07.2017 / 15:20
1
answer

Laravel does not load Visual part

When I enter my local host ( link ) the page loads but the design does not. NOTE: I just put php artisan make: auth no more     
asked by 27.06.2017 / 00:04
1
answer

Sending data to Controller via Ajax LARAVEl [closed]

I have a project in which I have to send the CPF of a patient to a method in the controller in order to search within this method and already return the search value to the view, but I am not able to send those values to the view. Update I...
asked by 10.09.2017 / 22:00
1
answer

WhereIn in Eloquent

I'm trying to implement a query with the use of whereIn in Eloquent, but it always generates an error, My code looks like this: $result = DB::query()->select('permissao') ->whereIn('id_permissoes', $variav...
asked by 20.07.2017 / 02:17
1
answer

Get records with date greater than the current one - Laravel 5.1

I need to list schedules that have date greater than or equal to the current date, I'm doing it as below but it does not work, it does not return any record. Auth::user()->Agendamentos->where('data', '>=', date("Y-m-d h:i:s")) I'm...
asked by 01.06.2017 / 16:19
1
answer

Problems with form using PHP with Laravel

Next I developed a site using laravel I am programming a form but it has no action I have already finished it does not work when I click send, it does not only do reload on the page and does not appear even the errors even if I f...
asked by 18.05.2017 / 20:30
1
answer

Select Laravel Collective does not select value

I'm trying to retrieve the value set in the database and it gets selected in the edit form. The value 2 is reaching the form but I'm not getting it selected. {!! Form::label('cupUnic', 'Único?') !!} {!! Form::select('cupUnic', ['' => 'Selec...
asked by 12.05.2017 / 02:46
1
answer

Linux commands through Laravel

I'm creating some custom commands in Laravel as per the documentation: link ex: php artisan gestao:config This command allows me to automatically configure some things in my application, such as migrate and Seeds of my ap...
asked by 22.05.2017 / 03:34