Questions tagged as 'laravel'

1
answer

Constant error in the DOMPDF library

I installed the dompdf package on laravel4, using the composer. However, you are giving the following error when trying to create the object:    Use of undefined constant DOMPDF_TEMP_DIR - assumed 'DOMPDF_TEMP_DIR' The php being used is 5...
asked by 06.01.2014 / 18:47
0
answers

Pass the token of an AngularJs controller to a Laravel API

I am trying to pass the token that I have in my controller to authenticate to an API in Laravel. But I'm encountering the error:    "token_not_provided" Note: I am using JWTAuth with Laravel 5.4 Follow my API: use Illuminate\Suppor...
asked by 17.10.2018 / 01:45
0
answers

Local environment does not process some requests [closed]

I'm working with 2 sites in Laravel, where requests to the server import and export large databases in Excel occur. When I make changes to these databases, I can not test them on my local machine, I have to go to the amazon server to see if m...
asked by 23.10.2018 / 18:50
0
answers

Multiples App Laravel using the same job table

I have in my scenario 3 servers http running the same application Laravel and sharing the same Database, where the first server makes LoadBalance using nginx , basically with the same load weight. > The application w...
asked by 27.09.2018 / 17:50
1
answer

How and when to create packages in Laravel 4?

I have been researching and thinking about a subject for some days and I still do not understand how to do / use / start: Scenario Package: Books (crud) Package: Authentication module (users + profiles + login + permission) Doubt...
asked by 24.09.2014 / 22:56
3
answers

What is the correct way to pass two or more parameters on the route?

I'm trying to pass two parameters in the route, however, I get this error:    "Route pattern" / tab / {id} / client / {id} "can not reference variable name" id "more than once." The route used: Route::get('/visualizar/{ficha_id}/{client...
asked by 28.11.2017 / 16:11
1
answer

Package downgrade in laravel

I'm facing a problem to run composer install because of a package that is incompatible with the version of laravel I use at the moment; The version I have is 4.1 with php 5.6, but when I run the install I get the message;   ...
asked by 21.11.2017 / 14:25
2
answers

Laravel database connection error

Use mamp and set up the database.php file so 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost:8889'), 'database' => env('DB_DATABASE', 'estoque_laravel'), 'username' =&...
asked by 13.11.2015 / 17:52
2
answers

Problems with permissions when creating folders on Linux server using mkdir

I have a PHP system using Laravel 4.2 where I use the mkdir command to create a folder in the storage / pdf directory, the command works in the Windows Dev environment, but when uploading to the UOL server the folders are not created properly, I...
asked by 11.07.2017 / 16:35
1
answer

Syntax ': value' in the array

I've seen this syntax in laravel, in the 'resources / lang' area, where authentication messages are pre-configured. And I came across the following code: <?php return [ 'throttle' => 'Too many login attempts. Please try again in :se...
asked by 20.03.2018 / 18:54