In this section you'll find links submitted by others.

Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?

To be able to submit a link you need to log in first.

Log in

Supercharge Your Laravel Models with Custom Collections

www.harrisrafto.eu - submitted by Harris Raftopoulos

Custom collections in Laravel allow you to add model-specific methods, making it easier to handle groups of models in a more expressive way. This is especially useful for managing complex data like e-commerce orders, where you can implement methods for filtering, calculating totals, or applying bulk actions, keeping your controllers clean and focused.

Read more [www.harrisrafto.eu]

Optimizing Eloquent: Accessor Caching and Value Objects in Laravel

www.harrisrafto.eu - submitted by Harris Raftopoulos

Laravel's accessor caching with shouldCache() boosts performance by preventing repetitive computations for expensive accessors. Additionally, you can work with complex data like addresses using value objects, and Laravel will auto-sync changes back to the model. This improves code efficiency and maintainability, especially for structured data.

Read more [www.harrisrafto.eu]

TemPHPest - A VSCode Extension to make PHP Better

marketplace.visualstudio.com - submitted by Liam Hammett

I use VSCode to write PHP, but there's a handful of small papercuts I've run into that trip me up. One of the things VSCode excels at is how easy it is to extend - so I wrote an extension that solves a handful of these problems for me and brings some powerful code generation and refactoring tools to the table - TemPHPest. Yes PHPStorm has great all-around support and is a wonderful IDE, but with tools like TemPHPest and the upcoming Laravel VSCode extension, VSCode is more viable than ever.

Read more [marketplace.visualstudio.com]