Support the ongoing development of Laravel.io →

Shortcuts in eager loading?

I know that I can use the below to eager load relationships, but how do I add "shortcuts"...

0 Likes
1 Replies

Many to many relationship with extra field

I am providing an example there are two tables paper and question in paper table {id, name} in quest...

0 Likes
3 Replies
Solved

User Relationships and Fields Question

I'm creating a relationship between a User model and Post model. I created the relationship as foll...

0 Likes
3 Replies
Solved

Route to Controller function

I am following a guide, where they have all routes set in the routes.php file and I am attempting to...

0 Likes
1 Replies

Get model->id in FormRequest

How can I get the current model record id to be used in public function rules() {} The rules are in...

0 Likes
1 Replies

How to set an array varible to global for all controllers and views?

Hi Guys! As the title, I have an Array varible named is $commonConfig, and I want use it in all Cont...

0 Likes
5 Replies
Solved

extends view by user type

Hi, i've a site that manage articles. So i've an ArticlesController and a /resource/view/articles di...

0 Likes
1 Replies

How to know from which url user send curl request

Hi friends. Can you tell me how to know from which server/site I get curl request? The story is some...

0 Likes
5 Replies

Setting environment variables for production in .env? I'm a bit confused

I'm a little bit confused with the method of using .env files for setting environment variables. Upo...

0 Likes
1 Replies

looking for laraveltherightway.com contributor

looking for Contributors website: http://www.laraveltherightway.com/ repo: https://github.com/larave...

0 Likes
0 Replies

Environment setting using DotEnv files vs config files

Hi, This .env "file" (not files... I'll get to that later), though a good step, lacks some...

0 Likes
1 Replies

What happened to App::finish in laravel 5

I noticed in laravel 4 documentation there is a way to register a call back for after the processing...

0 Likes
0 Replies

Social Authentication in Laravel 5

I am looking to implement Social Authentication using Facebook,Twitter,Google with Normal Authentica...

0 Likes
0 Replies
posted 10 years ago

Reflection Exception In Container

Hi, I wrote an Api Controller which I want to use in my routes.php Route::group(['domain' => 'api...

0 Likes
3 Replies
Solved
posted 10 years ago

Redefine Validator Unique Check

Hi guys, I'm trying to redefine the Validator method that check the "unique" keyword. I've...

0 Likes
0 Replies
posted 10 years ago

Drag and drop product-images save DB.

Hi all, i have an issue with saving the position_id for the product images, i'm trying in a way of d...

0 Likes
1 Replies

Step by Step make a scheduler email

Hi All.. i'am new in laravel this realy nice framework ok.. this my question. condition: if expired_...

0 Likes
2 Replies
posted 10 years ago

How to pass multi dimensional array from Controller to View

Hi, I have an array of the form: Array ( [0] => Array ( [source] => image_source [name] =>...

0 Likes
6 Replies

Bye Virtualbox/Vagrant/Homestead, Hi Laragon

( cross posted @laracasts too, just want you guys to check this out http://goo.gl/c0uc1S ) Just foun...

0 Likes
4 Replies
posted 11 years ago

DigitalOcean, Fortrabbit,etc. and Managing multiple client websites

Primary Question Using services like DigitalOcean, Fortrabbit, Heroku, etc. what's the best way to s...

0 Likes
2 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.