Support the ongoing development of →

1,792 Threads

Static methods vs $this->CLASS->METHOD in controllers?

Can someone explain to me the advantages of objects creation in __construct method? And explain depe...

0 Likes 2 Replies

Naming RESTful Controller Methods

Stumbled upon the biggest Laravel issue for me. I don't like the idea of defining routes for many me...

0 Likes 8 Replies
28 Feb, 2014 at 06:26

PHP patterns, extending MVC functionality

Hello, before I start I must say my english isn't at very high level, so some of you may misundersta...

0 Likes 3 Replies

Dynamic filter class arguments

Hi, sorry form my bad english! I have a doubt about how to pass a parameters in filter class. This i...

0 Likes 4 Replies

Artisan commands and IoC / reflection / injection etc.

I have created an artisan command that calls on a custom class. My custom class uses reflection to i...

0 Likes 2 Replies

[Benchmarking] Using your public API internally, too

Hey guys I had some doubts and concerns about using an HMVC approach with Request::create() so I did...

0 Likes 1 Replies

Best practices for validating user input

Hi, lot of people create sepparate classes for each set of rules and then inject them into the contr...

0 Likes 0 Replies

General Questions - New to Laravel

Hey guys, Laravel is the first framework I have decided to learn and start working with. I've been a...

0 Likes 1 Replies

changing the package directory name

Will changing the package directory name in the pubic directory break packages?. If so what is the s...

0 Likes 0 Replies

Pro-active Caching: Looking For Ideas

I have built a business application using Laravel that utilizes several very large datasets. There i...

0 Likes 1 Replies

URL::route cannot find defined route

I'm trying to generate URLs on the view for some routes, so I have the freedom to change their URLs...

0 Likes 1 Replies

Model attribute accessor not working with object_get helper function

The model: class Item extends Eloquent { public function getCentsAttribute() { return substr(...

0 Likes 3 Replies

Thanks to our community

Solutions given in the past year.


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 - All rights reserved.