Support the ongoing development of Laravel.io →

1,813 Threads

Inserting multiple related models elegantly.

Hi there, I've got a little snippet of code that really bothers me. I think a little background info...

0 Likes
2 Replies

Custom View Helper - Am I over engineering here?

So you need to pass data to your view? Normally, you'd do something like this. CONTROLLER: class Hom...

0 Likes
0 Replies

Route group capturing every route

I'm using creolab/laravel-modules to create an application and the administration area will be a mod...

0 Likes
0 Replies

Single Responsibility Principle. How can I design this code properly?

Hi guys; I have been struggling with this. I really appreciate some help. I don't know how to learn...

0 Likes
3 Replies

Route group wildcard prefix stops matching of non-wildcard defined routes

I have a route group that has a parameter prefix like so: Route::group(array('prefix' => '{countr...

0 Likes
1 Replies

Sharing sessions with legacy php code

Does Laravel have plans to natively support this? I had a forum post on the old forum about this: ht...

0 Likes
0 Replies

container bindShared

Illuminate\Container bindShared is performing the callback each load... doesn't it suppose to execut...

0 Likes
5 Replies

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 10 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 10 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

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.

© 2024 Laravel.io - All rights reserved.