Support the ongoing development of Laravel.io →

Laravel 5.1 (Localization) setLocale does not save the locale string you are going to use in session

Hello , I am using Laravel 5.1 , in change language action, i wrote "App::setLocale " howe...

0 Likes
0 Replies
posted 9 years ago

[laravel 5.1] Debugbar not working with https

Mixed Content: The page at 'my_domain' was loaded over HTTPS, but requested an insecure script 'my_d...

0 Likes
1 Replies

Laravel 5 - model localization

Hi, I have simple question regarding model licalization. How do you approarch this in laravel and sq...

0 Likes
3 Replies

multilingual database

I hope this thread finds everyone healthy. I am designing a multilingual database using laravel eloq...

0 Likes
1 Replies

Translation tables

Hi all, While creating a multilingual API I bumped into some problems. I have the following DB setup...

0 Likes
4 Replies
posted 9 years ago

Unit testing

He Guys, I have a question with unit testing. I'm a bit stuck here. // SomeController public functio...

0 Likes
0 Replies

Mail::failure doesn't return anything.

If email id wrong in to function then it should go in failure array and that array of email id shoul...

0 Likes
0 Replies

Getting data from two models

I have one table as "Consultant" and another table as "ConsultantsStatus". There...

0 Likes
0 Replies

testing.. setting up db etc

so what do you guys do when creating tests? I have a setup method on the testcase (parent class) tha...

0 Likes
0 Replies
posted 9 years ago

Tick checkbox if record exists in related module.

Hi all, I have a profile module that is related to modules through a middle table module_profile. I...

0 Likes
1 Replies

upgrading laravel from 4.2 to 5

What would be the best way to update the framework leaving the same directory structure that larav...

0 Likes
2 Replies

Whats the difference with this code and which is faster

I have some confusion on what's the difference with this codes. I have been accustomed in using eloq...

0 Likes
4 Replies

[SOLVED] Auth Login event in Laravel 5.2

In Laravel 5.1 I was able to listen the Auth.Login event, but I can't do the same on 5.2. It seems t...

0 Likes
0 Replies

Laravel 5.0 | Eloquent Eager Loading resulting only in one row.

I am trying to implement laravel elquent eager loading concept. Here are my two models and the contr...

0 Likes
1 Replies

How to create relationship between two model

Hi I am New User of Laravel so,pls can anybody help me that how two join two model i have two tab...

0 Likes
1 Replies

How to constraint eager loading with query scope for each relation?

Hi all, I am creating a admin panel and I have 3 tables in my DB: groups, roles, users. I have a man...

0 Likes
0 Replies

Laravel PDF packages

Hi, I'm a beginner into Laravel. Guys maybe the same question asked before, but i think no harm aski...

0 Likes
2 Replies

Api with route parameters to scale down code. Class not found

I'm trying to make a api that uses route parameters so that i don't need 1000 routes for all the dif...

0 Likes
1 Replies

Auth session killed after redirect | laravel 5.2

We made a simple login form, when we post it its working fine, we are even logged in if we check the...

0 Likes
1 Replies
Solved

Login Via ajax not working Laravel 5.1

I am using ajax to login user. Here is the code but not working. Although the (Auth::attempt(['email...

0 Likes
7 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.