This Week in Laravel: NativePHP for Mobile, Cursor Tips and Stress Testing

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

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


From my LaravelDaily.com

Four VS Code Extensions For Laravel/PHP Projects
VSCode is gaining more traction thanks to Cursor, an AI-powered code editor. But if you are switching from PHPStorm to VSCode, you might be missing some of the features. Thankfully, some extensions can help: Let's review each of them and see how they can help you with your Laravel development.


From my YouTube Channel

8 Cursor AI Agent Tips for Laravel Projects
I've used Cursor as primary IDE for a few months, and here's what I've learned.

NativePHP for Mobile: Demo Laravel Project
You can create Android/iOS projects with Laravel and PHP, using Tailwind/Bootstrap for styling. Let us show you.

15 Less-Known Spatie Laravel Packages and Projects
Let's quickly run through useful resources I found on Spatie website.

Stress-Testing Laravel App Performance with k6 and Http Client
How to simulate and benchmark the scenario with multiple users visiting your Laravel app? In this video, I will show two experiments.

Eloquent N+1 Query: All You Need to Know
This video is a 4-in-1 lesson from my course "Eloquent: Expert Level" about N+1 Query Problem.


From Laravel Community

Stop Refreshing! Laravel useEcho Hooks for React & Vue
youtube.com

Learn how to add real-time updates to a fresh Laravel + React app using Reverb and the new Echo Hooks. Complete setup from scratch to real-time notifications in one tutorial!


How to Integrate multiple external data sources in Laravel with DTOs
luckymedia.dev

As developers, we often face the challenge of integrating data from multiple sources into a unified structure. In the world of Laravel, this can be particularly daunting when your application needs to handle reviews coming from various platforms like Google, Tripadvisor, and Facebook.


Auto-translate Application Strings with Laratext
laravel-news.com

Laratext is a Laravel package by Eduardo Lázaro that makes managing and localizing text strings in Laravel apps easier.


Do not call toArray() to get all items from a Laravel Collection
spatie.be

Laravel's Collection class is awesome. Probably you use it in all of your Laravel projects. Something that you'll need to often is casting the collection back to a regular array. Like me, you might be tempted to use toArray() for this. But that might be the wrong method to call.


Simplifying work with custom stubs in Laravel
blog.genijaho.dev

Testing is almost always difficult when developing applications that interact with external services, APIs, or complex features. One way to make testing easier is to use stub classes. Here's how I usually work with them.


Avoid overlapping date ranges with a familiar API
masteringlaravel.io

When your app stores date ranges (like a room reservation), you may need to ensure that no two records overlap. There is nothing built in to Laravel that does this, but we can easily write a custom rule that checks the database for conflicts with existing records.


Locale-aware Number Parsing in Laravel 12.15
laravel-news.com

The Laravel team released v12.15.0, with Locale-aware number parsing, a string hash() helper method, inject contextual attribute values, and more.


Validate Controller Requests with the Laravel Data Package
laravel-news.com

The Laravel Data package has many incredible features for working with data objects in Laravel applications. Data objects are rich, typed, and highly configurable objects that can double as API resources, form requests, TypeScript definitions, and more.


Introspect for Laravel - Query your codebase like a database with an Eloquent-like API
reddit.com

Hello everyone! Are you building devtools or other things which need information about the codebase? Do you need structured schema?..


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:
  • 78 courses
  • 95 long-form tutorials
  • access to project repositories
  • access to private Discord

Recent New Courses