Support the ongoing development of Laravel.io →

1,804 Threads

How to get timestamp integer instead of Carbon object

My application has to adapt to an existing database which uses integer timestamps instead of string...

0 Likes 2 Replies
Solved

"Too Many open files" error in Application.php. Not sure how to diagnose

I'm getting a "Too many open files" error on a script that downloads images and reuploads...

0 Likes 0 Replies

Really? 11mb request footprint?

I have a relatively stock install of Laravel save for a couple of extremely small service providers,...

0 Likes 4 Replies

Laravel Finder bug ?

Hello dear firend most of time in my app I got this erro Class 'Symfony\Component\Finder\Finder' not...

0 Likes 0 Replies

Validation inside a mutator/setter

I was reading the following: "Validation should happen within the context of the setter prior t...

0 Likes 0 Replies

Mocks and namespace

Hi I had a few tests, no problem with phpunit execution. I added namespaces to my Models and control...

0 Likes 2 Replies
Solved

Laravel user forms and admin forms: how to tackle?

Hi Just a question to poll how you guys would tackle this in Laravel: I have a user preferences page...

0 Likes 4 Replies

Handling Unique Short Code Representitives

Lets say I have a list of Status 1 - Pending Submit 2 - Submitted 3 - Extra Images Uploaded 4 - Com...

0 Likes 1 Replies

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

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?

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

© 2022 Laravel.io - All rights reserved.