Support the ongoing development of Laravel.io →

1,826 Threads

Add additional filter class to composer package

I use this package in my project https://github.com/tappleby/laravel-auth-token I want to add an add...

0 Likes
5 Replies
Solved

Laravel-Recipes.com is now open source

You can check out the website at laravel-recipes.com And the github repo at github.com/ChuckHeintzel...

0 Likes
3 Replies

DB Seeding Already Populated Table

I have a database table for "roles" and for "permissions", and I need to seed th...

0 Likes
3 Replies
0 Likes
1 Replies

What should go in a Repository

Looking through Repository code and what everyone uses them for. It still seems they are pretty coup...

0 Likes
25 Replies

Larapress (CMS) Architecture Discussion

Hello there! I'm currently developing a CMS called larapress and I'd like to discuss the archite...

0 Likes
9 Replies

controller method with parameter call from view?!

hello, i have a controller method with parameter public function check($root_ip, $root_port) {...

0 Likes
3 Replies

Is it possible to give a named route to an entire resource?

I'm thinking something like Route::resource('sessions', [ 'as' => 'test', 'uses' => 'SessionsC...

0 Likes
3 Replies
posted 12 years ago

Organize code for access from many controllers??

I have a design question that I've been struggling with lately. How do you make a chunk of logic th...

0 Likes
2 Replies

How to loading my config environment instead of testing config when doing phpunit?

Hi, We are a team of developers, and each one is running tests locally before commit, each one confi...

0 Likes
0 Replies
posted 12 years ago

Controller size best practice?

I started using Laravel on a couple of projects, and for simple logic it's pretty straight forward....

0 Likes
5 Replies

[API] Best way of finding the class or method for learning purposes

Hi, I am still in the progress of learning Laravel and I already used the api. The only thing I miss...

0 Likes
1 Replies
Solved

Artisan error

When I try to run php artisan I have this error "error":{"type":"Symfony\\...

0 Likes
2 Replies
Solved

Most efficient count on relationships

I'm currently using Eloquent for my database queries, but when an user logs off I want to get a tota...

0 Likes
2 Replies

Error rendering view: [user::profile.profile]

Hello everyone! I receive the following error: Error rendering view: [user::profile.profile] Trying...

0 Likes
5 Replies

Better IoC design pattern?

I have finally got my head around IoC (thanks to Jeffrey and Laracasts :) ) and I'm now looking to a...

0 Likes
2 Replies
Solved

Testing classes which connect to external services

Currently I'm trying to improve my TDD (PHPspec) in Laravel, though I'm facing several problems when...

0 Likes
0 Replies

Where do these validation rules belong?

Hi, I am building a user submitted video playlist and need to impose rules such as: Users can only...

0 Likes
3 Replies

Pros and Cons of Laravel + Angular

I am in the planning stage of rebuilding our company CMS and we will definitely be using Laravel, bu...

0 Likes
11 Replies
Solved

How to select field in another table join by eager loading ?

I got category_to_news and news_main table category_to_news : news_id (int),name (varchar),title (ti...

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.

© 2026 Laravel.io - All rights reserved.