Questions tagged as 'laravel-5'

1
answer

Laravel request validation

I am having problems with validations in laravel , in real it is validating correctly however I need to inform the user which field X is required or not. Today the system simply sends to the same screen cleaning all my form this would n...
asked by 15.09.2016 / 05:33
1
answer

Show Json data inside a Form Html

I have a Grid with the edit button when I click on it it accesses the Controller and brings the data into a Json and "Theoretically" was to return that data in a Modal. When I type Url .... show / (ID) the Json data appears but I am not able...
asked by 25.08.2016 / 20:57
0
answers

JSON request comes full page

I have problems with requisição JSON , it is returning html of the entire page and my request is JSON . I am using framework Laravel in versão 5.2 I make my request like this: $curl = curl_init...
asked by 11.10.2016 / 15:51
0
answers

Slow PDF creation - DOMPDF Laravel5 [closed]

I'm currently using Barryvdh \ DomPDF to create reports on a system made with Laravel 5.1 , but it's very slow because of the size of the reports, so that often (almost always), it ends up running out of time for loading. I make the e...
asked by 16.08.2016 / 15:17
2
answers

How to send email without a view

All the tutorials I think, including the official documentation show how to send emails using views. How to send emails without any view? How does the system routine automatically?     
asked by 31.07.2016 / 05:35
0
answers

Ignore error validation in file directory in Netbeans

I'm creating a Laravel application and I like to use Netbeans for this. The problem is that Laravel has a series of libraries that it implements itself and that use tests resources that make my project "demonstrate" as if there were errors. I...
asked by 29.07.2016 / 22:18
1
answer

Problem returning data in view with laravel 5

I'm trying to bring data into a view and I'm not succeeding. I have my Person class. class Pessoa extends Model { public function telefones() { return $this->hasMany(Telefone::class); } And in my Phone class I have. class Telef...
asked by 14.07.2016 / 20:40
1
answer

How to count underage employees?

I use the following code to display the number of active employees: {{ $relatorio->Empresa->Funcionario->where('id_status', 1)->count() }} How do I count only employees who are under the age of 18? In the employee table I hav...
asked by 13.07.2016 / 15:28
0
answers

Problem placing Application made in Laravel 5.2 in production

I'm not putting my system into production. I created a VirtualHost in the http.conf Apache file with the following configuration: <VirtualHost *:80> DocumentRoot /var/www/html/dna/public ServerName www.dna.com <Directory "/var/...
asked by 18.08.2016 / 15:55
0
answers

Number of queries to check user in laravel

I have a system of user authentication , where I use API sentinel in Laravel 5.2 . When I make Check_user() in middleware to see if the user is logged in and has access to the route, he checks 5 queries in the data...
asked by 13.06.2016 / 16:45