Support the ongoing development of Laravel.io →

Use chain relationships in a query

Hello there, I am trying to get the most descent and powerful way to make a query to my database to...

0 Likes
0 Replies
posted 9 years ago

One to Many Relationships

Hey guys, I have a problem with one to many relationships. I have 2 models, User and Language. User...

0 Likes
0 Replies

How do I get the selected value from the dropdown using L-5.1?

How do I get the selected value from the dropdown? <p>{!! Form::select('companyname', array(''...

0 Likes
0 Replies

Cannot get Laravel Welcome Page to appear on fresh install of Laravel

I have a fresh installation of Laravel using Homestead VM but cannot get the index.php view for the...

0 Likes
0 Replies
posted 9 years ago

How do I retrieve pivot table from Many To Many Polymorphic Relations ?

I have a table structure as this : posts id - integer name - string videos id - integer name - stri...

0 Likes
2 Replies
Solved

How i set 777 permissions to storage and bootstrap directories

how i can change permission to 777 and also in bootstrap. Because i am using croppic to upload imag...

0 Likes
1 Replies

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

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.