Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

clem's avatar

clem liked a comment+100 XP

3mos ago

Jeremy's Larabits: Ep 28, Where Should This Code Go?

Nice breakdown 👏 I’ve found the actions pattern works great here too — small scopes on the model, then an action like GetRecentlyPublishedArticles to compose them. Keeps controllers lean, models clean, and logic reusable anywhere.

clem's avatar

clem wrote a comment+100 XP

3mos ago

AI Developer Workflows: Ep 2, Refactoring AI

Fully agree. Great videos Jeffrey! As a senior dev I haven't watched much Laracasts lately (I used to watch EVERY video 10+ years ago) but these AI workflow videos are right on point.

clem's avatar

clem liked a comment+100 XP

3mos ago

AI Developer Workflows: Ep 2, Refactoring AI

Could also remove the trim() as the middleware TrimStrings should already apply this on the request.