Support the ongoing development of Laravel.io →

1,816 Threads

posted 10 years ago

Can I have your opinions on this repository architecture?

Hi folks. I've been playing with a slightly different architecture for a project i'm currently worki...

0 Likes
0 Replies

Many To Many Polymorphic Relationship?

Hey guys, I'm trying to figure out if this is the best way to go about this. I have a tv_shows table...

0 Likes
8 Replies
Solved

PSR-4 directory structure for packages

hey guys this is more of an aesthetic question about how to structure the directories of a package w...

0 Likes
2 Replies

pivot table with 3 columns

Hi Models : There is Party (should be renamed 'game') User can register to Party then user has a reg...

0 Likes
1 Replies

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
Solved

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
Solved

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