Support the ongoing development of Laravel.io →

Composer autoload classmap in database/seeds failed to generate autoload.php

I have a seed file app/database/seeds/StoryContentsCollectionSeeder.php that contains the following...

0 Likes
0 Replies

retrieve all children of hasMany relationship

Using $posts = Post::find($id)->comments()->get(); i can get children of single using $posts...

0 Likes
3 Replies

Working with Database with Several Schema's and Tables with No Foreign Key Relationships

Hello Community... New guy here working on private project that is far simpler that my work scenario...

0 Likes
0 Replies

Ask user/password for migrations

Is there a way to make a command like php artisan migrate:install --database['mysql_bis'] asks for c...

0 Likes
0 Replies
posted 9 years ago

Require HTML in L5

What is the better way to include HTML package? "require": { "illuminate/html&quo...

0 Likes
1 Replies
Solved

Extend command bus

Hi, I want to extend the command bus, just say I want to add a new function "Send($aggregate_id...

0 Likes
1 Replies

Join Category Table on Articles query.

I am trying to join two tables so that I can get the article name and slug, with only one query as I...

0 Likes
2 Replies
Solved

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

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.