This Week in Laravel: API Responses, Faster CSVs, and More

Hey hey, Useful Laravel links to read/watch for this week of June 26, 2025.

If you want to get such list every Thursday, subscribe to the newsletter here.


From my YouTube Channel

Laravel API: Consistent 422 Response from Exceptions?
One way to make sure the same JSON structure is returned for API validation, exceptions and success result.

Laravel Migrations Foreign ID: Do You Specify Table Name?
A quick video to raise a discussion.


From Laravel Community

What should I catch up with in Laravel ecosystem (been out of the game for more than a year) : r/laravel
reddit.com

I took a break for more than a year and now I am ready to get back to work. A lot can change in a year and I would love to know what are the things I should look into especially in Laravel ecosystem. Would few weeks be enough for this?


Pass a Query Builder to "whereIn" to Reduce Your DB Queries
ashallendesign.co.uk

Learn how to reduce your database queries by passing an instance of "Illuminate\Database\Query\Builder" to the "whereIn" method of your queries.


First Experience with Laravel Nightwatch : r/laravel
reddit.com

Reddit post with real experience and opinions in the replies.


Generate Eloquent Models from Database Markup Language Files - Laravel News
laravel-news.com

Generate Eloquent models and migration files directly from DBML diagrams with fillable properties, defined relationships, and more.


Building a Task Reminder With Laravel and MongoDB - Laravel News
laravel-news.com

Freshly created Laravel applications are configured to use relational databases. The purpose of this tutorial is to show how to use MongoDB in a Laravel application. We will build a simple task reminder system to achieve this.


Defining a Dedicated Query Builder in Laravel 12 With PHP Attributes - Laravel News
laravel-news.com

Learn how to configure a dedicated query builder class for Eloquent models using Laravel's new PHP attribute added in Laravel 12.19.


Understanding Action Patterns: What They Are and How to Use Them
danielhemmati.com

I got into design patterns mainly because my controller in Laravel was getting too big and I didn’t know where I should put the logic, and I saw that in Laravel community people are talking a lot about the action pattern (another name for it is command pattern btw)


Laravel Performance Hack: Process Huge CSVs 3500x Faster!
youtube.com

If you're working with large CSV files in Laravel, chances are you're doing it the slow way.


Discover Junie for PhpStorm: A Game-Changing AI Coding Agent for PHP Development | The PhpStorm Blog
blog.jetbrains.com

Explore how you can benefit from Junie, the AI coding agent by JetBrains, for your PHP development.


That's it for this week, see you in the next newsletter issue!

Again, if you wanna get this to your inbox every Thursday, subscribe here.

No comments or questions yet...

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 80 courses
  • 96 long-form tutorials
  • access to project repositories
  • access to private Discord

Recent New Courses