Questions tagged as 'laravel-5'

1
answer

How to solve loading problem css and js laravel in production?

When I run my local application, styles and js are loaded normally. The css and js are in public / css and public / js. In production are not loaded, below the production .htaccess: <IfModule mod_rewrite.c> <IfModule mod_negoti...
asked by 10.11.2016 / 21:12
1
answer

Problems with routes in laravel

I'm working with group routes on laravel 5.2 and I'm having problem with the create.store part of the route that saves my object. My files are structured as follows: ClientController.php <?php namespace App\Http\Control...
asked by 05.09.2016 / 21:57
1
answer

Configuring email sending in Laravel 5.1

I need to implement a configuration screen, where the user can set the data for sending e-mail as: MAIL_DRIVER , MAIL_HOST , MAIL_PORT MAIL_USERNAME , MAIL_PASSWORD , MAIL_ENCRYPTION , etc. In this case the...
asked by 01.09.2016 / 20:14
1
answer

Problems with the return of the related hasMany

I am working on the Batch table of my project where each batch will have its only product and each product will have multiple batches. I set up the whole relationship and now I'm testing access by métodos . When doing $produto->lotes...
asked by 24.09.2016 / 04:25
1
answer

Validation with Internationalization in Laravel 5.3 presenting error

I'm creating an application where I have to validate the data sent to the bank (obvious), but I'm having the following error:    ErrorException in FileLoader.php line 109:       Object of class Illuminate \ Routing \ Router could not be conve...
asked by 14.10.2016 / 21:11
1
answer

Problem with laravel model 5.2

I'm having a problem with my model, I do not really know what's going on, I'm creating a packaging CRUD where I add everything dynamically with the laravel by the requests in the function signature. When trying to edit / view / delete my cont...
asked by 09.09.2016 / 01:28
1
answer

Authenticate in a database and change information in others

So I need to create an application with Laravel 5 where different users can be authenticated in a specific database where the system is. After logging in, each user can change information within the system, and this information must be on ano...
asked by 12.08.2016 / 21:41
1
answer

Call method within URL in Laravel

I have a page with a "back" link. Is there a way to call the back() method of Laravel within href of the link? This code does not work, but I want something like href="{{URL::to(back())}}"     
asked by 11.08.2016 / 20:03
1
answer

Set Connection Dynamically in Model Laravel 5.1

I saw that I can use different connections for my models by defining them as follows: class Aparelho extends Model { protected $connection = 'minha_conexao'; protected $table = 'aparelhos'; } But how can I define this dynamically? T...
asked by 15.08.2016 / 16:14
1
answer

Questions about requests and returns

I have 2 different pages that access the same control. The idea is that I retrieve which page made the request, because depending on what it takes the two different returns. Ex. I have a button to send a product to the cart, but this one b...
asked by 19.10.2016 / 17:00