sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

August 7, 2025

Hi everyone,

August is here, and in this week's newsletter in our tutorials section we have guides for Building a Modular ERP System with Laravel 10, Fixing CORS Not Working in Laravel 12, and Understanding PHP Variables and Data Types. In Podcasts this week we have new episodes from No Compromises and they chat about changing your mind about when() and unless() in Eloquent. The guys at Laravel Podcast sit down with Taylor Otwell to unpack the latest announcements and the exciting growth of Laravel, while Scott and CJ from Syntax go full productivity nerd, swapping notes on their favorite web apps for writing, coding, planning, and more. Finally in our Reading section we have articles on Automating Repetitive Tasks Using VS Code Snippets, Understanding All the Ways to Define Routes in a Symfony PHP Project, and test creation methods on steroids with named parameters.

We have all that and more, so we do hope you enjoy this week's newsletter. If you have an article, tutorial or podcast that you would like to be featured in our newsletter, feel free to reach out to us at [email protected].

All the best,
Adrian

Please help us by clicking to our sponsors:

Sponsor Logo

Give Your Unused Startup a Second Chance 🚀
List your unfinished SaaS, app, or project for free. Sell it, find a co-founder, or let someone else bring it to life. No fees, no hassle - just new opportunities!

Articles

Leveraging Laravel Actions for Cleaner, Reusable Code
Laravel Actions are a design pattern used to encapsulate specific units of work—such as creating a user, sending an email, or processing a queue—into individual, reusable classes. 

How Laravel Loads and Caches Translation Files in Localization
Localization is one of Laravel's powerful features, allowing developers to support multiple languages seamlessly using either PHP array files or JSON files.

Workflow of Laravel Eloquent ORM behind the scenes
Behind every Eloquent call, Laravel translates your methods into raw SQL using a layered structure of classes.

Laravel Actions and Services
Honestly, organizing business logic in Laravel sometimes feels like herding cats. Controllers, jobs, events-everyone's fighting for attention, and before you know it, you've got a mess that's one step away from spaghetti code.

Performance Tuning PHP
This document outlines the key parameters within a PHP-FPM pool configuration, essential for tuning PHP performance and managing server resources effectively.

Laravel Octane: 15 Advanced Configuration Techniques for Maximum Performance
We'll dive deep into memory management, worker optimization, and advanced tuning parameters that most developers never explore.

7 PHP Operators Every Laravel Pro Should Master
After years of writing nested checks and verbose conditionals, I discovered seven PHP operators that quietly revolutionized my Laravel code.

Tutorials and Talks

Building a Modular ERP System with Laravel 10
In a recent project, I refactored a custom ERP system that had grown over two years. It was time to clean up the monolithic structure and prepare it for scale. Here's how I redesigned the architecture using a modular approach with Laravel 10 and PHP 8.2.

Redis Integration in Laravel: Advanced Techniques Beyond Simple Caching
This comprehensive guide covers practical implementations, performance tuning, and real-world use cases to maximize Redis' potential in your Laravel applications.

Hack Shared Hosting: Use Composer 2 + PHP 8.3 Without Root Access!
Because sometimes, all you need is a modern dev environment — and your hosting provider says no.

Fixing CORS Not Working in Laravel 12 (Custom Middleware Solution)
When working with Laravel 12 and building APIs consumed by frontend apps (like React, Vue, etc.), you might run into the dreaded CORS error — even when you think you’ve configured it correctly.

Handle authorization in Filament: Policies, Roles & Guards
In this guide, we’ll explore how authorization works in Filament , how it integrates with Laravel policy system, and how you can control user access with clarity.

Understanding PHP Variables and Data Types: A Beginner's Guide with Examples
 In this guide, you'll learn what variables are, how to use them, and the different types of data they can hold.

Getting Started with Laravel API Resources for Clean JSON Responses In Laravel
Laravel API Resources provide a powerful and clean way to structure JSON responses in APIs. 

Laravel: When to Use Traits, Casts, Enums, Exceptions, Form Requests, Observers, Event Listeners, Policies, Middleware, Services, etc.
This guide will break down fundamental tools in the Laravel developer’s toolkit, explaining what they are, when to use them, and providing a code example for each.

News and Announcements

The Laravel Idea Plugin is Now Free for PhpStorm Users
Starting July 30, 2025, we’re making Laravel Idea free for PhpStorm users. If you already have the Laravel Idea plugin installed, you get full access to all plugin features at no extra cost.

PHP 8.5.0 Alpha 4 available for testing
The PHP team is pleased to announce the third testing release of PHP 8.5.0, Alpha 4. This continues the PHP 8.5 release cycle, the rough outline of which is specified in the PHP Wiki.

PHP 8.4.11 & PHP 8.3.24 Released!
The PHP development team announces the immediate availability of PHP 8.4.11 & PHP 8.3.24. This is a bug fix release. All PHP 8.4 users are encouraged to upgrade to this version.

Symfony 7.3.2 released
Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project.

July 28 – August 3, 2025: A Week of Symfony #970
This week, Symfony released the maintenance versions 6.4.24, 7.2.9, and 7.3.2. Meanwhile, we began deprecating the XML configuration format in some components, enhanced the YAML configuration format to support auto-completion and updated the container XML dumping process to remove some dependencies.

Laravel Live Denmark
Laravel Live Denmark is back with its second edition of the conference, to be held in Copenhagen, Denmark, on 21-22. August 2025.

Podcasts and Vlogs

The Stack Overflow: Being unambiguous in what you want: the software engineer in a vibe coding world 
Quinn Slack, CEO and co-founder of Sourcegraph, joins the show to dive into the implications of AI coding tools on the software engineering lifecycle. 

No Compromises Podcast: Changing your mind about when() and unless() in Eloquent
Aaron admits he used to wrap every query in plain old if-statements—until Laravel’s when()/unless() helpers (and arrow functions) won him over. 

Software Engineering Radio: SE Radio 679: Wesley Beary on API Design
Wesley Beary of Anchor speaks with host Sam Taggart about designing APIs with a particular emphasis on user experience. 

Shoptalk Show: The $200 Upgrade, CSS Module Scripts, and Social Media Ethos
It's time for a ShopTalk GearTalk segment on video and audio upgrades, a chat about better YouTube thumbnails, buying the $200 Yamaha guitar (or equivalent in other areas of life), Chris and Dave riff on CSS modules, and what's your social media ethos in 2025?

WP Builds: 431 – Automating WordPress form and checkout testing with Matt Schwartz of CheckView 
In this WP Builds episode, Nathan Wrigley talks with Matt Schwartz, founder of CheckView, a SaaS platform designed to automate testing of WordPress forms and WooCommerce checkouts. 

Laravel Podcast: Live from Laracon US: Taylor Otwell Talks New Features, Forge & Cloud
Recorded live at Laracon US, Matt Stauffer sits down with Taylor Otwell to unpack the latest announcements and the exciting growth of Laravel. 

Syntax: Scott & CJ’s Fave Productivity Apps & Web Apps
Scott and CJ go full productivity nerd, swapping notes on their favorite web apps for writing, coding, planning, and more. From terminals to to-do lists to dumb phones, it’s a deep dive into the tools powering their workflows.

The Changelog: The smell of vibe coding
Alex Kondov knows when you’ve been vibe coding. (He can smell it.) our friends at Charm release a Go-based AI coding agent as a TUI, Jan Kammerath disassembled the “hacked’ Tea service’s Android app, Alex Ellman made a website that provides up-to-date pricing info for major LLM APIs, and Steph Ango suggests remote teams have “ramblings” channels.

Reading and Viewing

Test creation methods on steroids with named parameters
In my previous blog post about writing high quality tests I mentioned that writing test code in the most minimalistic way will improve maintainability in the long run by a lot. 

Automating Repetitive Tasks Using VS Code Snippets
As developers, we write the same chunks of code again and again — whether it’s a React component, a PHP function, a JavaScript utility, or a WordPress loop. 

Laravel Health Checks: Monitor App State in 2025
Every Laravel developer has experienced that sinking feeling when users report that "the website is down" while your server monitoring shows everything is green.

Stop Writing Try/Catch Like This in Laravel
Let’s strip out these toxic patterns and rebuild your error handling with clarity and resilience.

Refactor Controller into Action Class: Cleaner & More Maintainable Laravel Code
In this article, we’ll walk through how to refactor your Laravel controller methods into dedicated Action Classes to achieve cleaner, modular, and more testable code. 

Why match in PHP Is the Upgrade You Didn’t Know You Needed—and Why Laravel Feels Better Without switch
Most of us relied on switch(...) for conditional logic—until PHP 8 introduced the match expression. 

Understanding All the Ways to Define Routes in a Symfony PHP Project
In this article, we’ll walk through all the different ways you can define routes in a Symfony project, with simple examples and practical notes.

Interesting Projects, Tools and Libraries

riverskies/laravel-mobile-detect
Instant mobile detection access directly from within Blade templates.

seleznev/beep
Beep is a lightweight Laravel package for sending notifications to your team via Slack and HipChat.

pageon/slack-webhook-monolog
A monolog handler for slack integration using webhooks.

donatj/drop
Simple debugging methods with CLI support.

robuust/craft-commerce-pay
PAY integration for Craft Commerce 4.0+.

druidfi/mysqldump-php
PHP version of mysqldump cli that comes with MySQL.

amamarul/integer-hashids
Laravel Integers Hashids Generator. Encode and decode ids to Integers. Also generate prefixed hashids.

levizwannah/php-markup
Allows you to Write HTML using PHP in an elegant manner. And the result is a clean formatted html markup.

nearata/flarum-ext-login-notification
Allows the user to choose whether to receive an email when a login occurs.

cschindl/php-openapi-mock-middleware
PSR-15 Middleware that simulates the API responses using an OpenAPI schema.

Jobs

------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert.  Please let me know if you are interested by emailing me at
[email protected]

Please help us by clicking to our sponsor:


encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 16. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

So, how did you like this issue?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com