Questions tagged as 'laravel-5'

1
answer

LaravelExcel is converting the header values of an excel spreadsheet. How to disable this?

I'm using the LaravelExcel library to import data from an excel into a database. To get the header data from my worksheet, do the following: Excel::load('file.xls', function($reader) { $nomeDasColunas = $reader->get()->first()-&...
asked by 25.07.2016 / 15:53
2
answers

Api Restful laravel 5.2

Hello, I'm trying to create an api in laravel 5.2 What I'm trying to do is the following: 1 - Continue using the default auth system for web user. 2 - create an api for users of an application. I am using the method: auth: api, bu...
asked by 16.06.2016 / 06:04
0
answers

Validation "in" Laravel 5

Good afternoon, I need to validate a DropDown so that if there are values 1, 2, 3 the user can not enter other values than the ones contained in it. I was able to do in StudentUpdateRequest the following: public function rules() { retur...
asked by 27.05.2016 / 21:43
0
answers

Groupby doing query gets too slow

Good afternoon people, I'm doing a query in the bank where everything happens well, however when I make use of "groupby" this query gets very slow, very slow even, example, just take the groupby line that the query returns me in less than 1 seco...
asked by 04.08.2016 / 22:01
1
answer

Laravel 5.2 pages redirecting to POST without showing validation errors

In laravel 5 whenever I try to send a post to save or edit the data, a redirection occurs in all requests with status 302. This is occurring on any system page where I make a POST to insert the data into the database. I'm using% cus...
asked by 06.05.2016 / 16:26
2
answers

500 server error after installing Laravel

I installed Laravel on Mac using Apache and PHP native to MAC. After installing the files from the APACHE folder I went to the browser and typed    localhost / laravel / public / And the following message came    Server Error 500    ...
asked by 18.11.2015 / 19:31
0
answers

Problems displaying an image with the name highlighted in the folder

Personal I'm updating a project from a client that was originally made in VB.NET and I'm moving on to Laravel 5.1. It's all right only a problem with displaying certain images that have in the folder name some accented character. Example: <...
asked by 10.11.2015 / 16:54
1
answer

Problems using Entrust with Laravel 5.1

My OS is Linux , I installed Laravel 5.1 and it was running correctly. I installed the Entrust package via artisan and was setting it up by following the README.md ( link instructions) until you reach the point of executing the following c...
asked by 20.10.2015 / 12:57
1
answer

Problems inserting integer data into Sybase using Laravel

Hello, I'm having trouble inserting values into tables with columns of integer data type using Laravel 5.1 and Sybase. Error 257 is listed when the exception is thrown. In the Sybase manuals seems to be a conversion problem. I can see that...
asked by 20.08.2015 / 15:11
0
answers

Use Google Youtube API V3 in Laravel 5

I would like to know how to install google api v3 in Laravel 5, I used the composer to download the package but I do not know how to configure the providers and aliases. I need to make a system that uploads videos from my website on youtube.   ...
asked by 12.05.2015 / 23:53