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!

July 24, 2025

Hi everyone,

Time is the most valuable thing in this world, and here at PhpWeekly we value your time that's why we've gathered all the news and updates on anything and everything php. This week we have tutorials on building comprehensive test suites, custom artisan commands, using Blade templates, and how to enable the 'remember me' feature in Laravel. In Podcasts we have new episodes from Laravel news and this week the topics are faster NativePHP AI chat kits and more. The guys at No Compromises compare two very different ways to handle pull-requests, while Maintainable has senior developer Sara Jackson to discuss the practical ways teams can foster resilience. Finally in our Reading section we have articles on PHP 8.5's powerful new tool: the pipe operator, 8 Laravel secrets for a secure, high performance API, and understanding the LAMP stack.   

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

PHP 8.5 Pipe Operator: Simplify Your Workflow
With PHP 8.5, a powerful new tool lands in your toolbox: the pipe operator (|>). It lets you chain operations cleanly, without nested calls or extra variables.

Laravel at Scale: 5 Proven Hacks to Query Millions of Records in Seconds
The Problem: SELECT * is the biggest culprit—wasting CPU, RAM, and bandwidth when you only need a handful of columns. The Fix: Always explicitly select only what you need.

Fix These 20 Common PHP Errors Using AI Tools
These tools help you review code quality and streamline the process of identifying errors, suggesting fixes, and maintaining high standards for your source code.

Static vs Non-Static Closures in PHP – A Surprising Benchmark
This blog post tells the story of what I found – and why using static might be a small habit that makes a big difference. 

Laravel Events and Listeners: Building Decoupled Applications
In traditional application development, components often directly depend on each other, creating tight coupling that leads to code that's difficult to maintain, test, and extend.

The July 2025 Laravel Worldwide Meetup is Today
The next Laravel Worldwide Meetup is today, Tuesday, July 22nd, 2025. The meetup starts on YouTube at 16:00 UTC and features Harris Raftopoulos. 

5 Useful VS Code Extensions for PHP Development
Whether you’re building a simple website or a complex Laravel application, the right extensions can make coding faster, cleaner, and more enjoyable. 

Tutorials and Talks

Streamlined Data Flow Between Laravel Seeders Using Context
Database seeders frequently require shared data between classes, but conventional approaches create maintenance challenges and unclear dependencies. Laravel's Context system provides an elegant solution for managing seeder data flow.

Deploying Laravel Applications on Laravel Cloud With MongoDB Atlas
Hosting a website or an application has always been a pain in the past. However, things got easier with time, and today, it has become seamless using Laravel Cloud.

How to use php with base path with nginx.
When the main php project BB is nested inside php project AA, with php extension removed from url.

Building Comprehensive Test Suites with Pest PHP: From Validation to Authorization
Testing is the cornerstone of reliable software development. In this article, I'll walk you through building a comprehensive test suite for a Laravel application using Pest PHP.

Building Custom Artisan Commands with Advanced Features
Key Takeaways: Progress Bars: Basic, advanced formatting, multiple progress bars with real-time updates.

Using Blade Templates in Laravel - A Beginner’s Guide
In this article, I’ll walk you through the basics of Blade templates with real-world examples.

How to Transfer Data from PHP Form to Database in Laravel – Easy Steps for Beginners
In this tutorial, I’ll guide you through simple, beginner-friendly steps — from creating the form to saving the data using Laravel's built-in features.

How to Enable the “Remember Me” Feature in Laravel
In this article, you’ll learn how to enable the “Remember Me” option in Laravel, so your users can stay logged in even after closing their browser. 

News and Announcements

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

CakeFest tickets available NOW! 
Use code: CakePHPX for discounted early pricing. Ready to book your stay? Crowne Plaza is offering a discounted rate for attendees.

Livewire Security Vulnerability
As reported in CVE-2025-54068, anyone running Livewire before 3.6.3 is vulnerable to remote command execution during component property update hydration. Here is how it's explained in the CVE. 

Symfony AI Components
Symfony AI is a set of components that integrate AI capabilities into PHP applications. This package comprises several lower- and higher-level components, along with their respective integration bundles. 

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.

July 14–20, 2025: A Week of Symfony #968
This week, the upcoming Symfony 7.4 version improved the Serializer component by adding more prefix support to the accessor, added more code to make the JsonPath component RFC compliant, and added support for loading JSON using imports in AssetMapper.

Podcasts and Vlogs

Laravel News Podcast: Faster NativePHP, PHP pipes, and AI chat kits
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: “AI has been the wild west”: Creating standards for agents with Sean Falconer 
Ryan is joined on the podcast by Confluent’s AI Entrepreneur in Residence, Sean Falconer, to discuss the growing need for standards for AI agents, the emerging Model Context Protocol and agent-to-agent communication, and what we can learn from early web standards while AI continues to evolve.

No Compromises Podcast: Finding a code-review style that fits your brain
Joel and Aaron compare two very different ways to tackle pull-requests—reviewing them commit-by-commit or scanning the whole thing at once. They dig into when each approach shines, how “atomic” commits can help (or hurt) reviewers, and why understanding how your teammate’s brain works is a super-power. 

Maintainable Podcast: Sara Jackson: Why Resilience Is a Team Sport
Robby is joined by Sara Jackson, Senior Developer at thoughtbot, to explore the practical ways teams can foster resilience—not just in their infrastructure, but in their everyday habits.

Software Engineering Radio: SE Radio 677: Jacob Visovatti and Conner Goodrum on Testing ML Models for Enterprise Products
Jacob Visovatti and Conner Goodrum of Deepgram speak with host Kanchan Shringi about testing ML models for enterprise use and why it’s critical for product reliability and quality. 

Developer Tea: Investigating Your Invisible Systems
This episode focuses again on the fundamental principle that your systems are perfectly designed for the outcomes you are experiencing, regardless of whether those systems were intentionally or accidentally created.

Shoptalk Show: Context in Console, CodePen’s New Editor, and Looking for a New Arc
Dave's coming in hot from vacation, how CodePen's new editor imports packages, should CodePen fix your code if you forgot something, the struggle to get the right context in the console.

WP Builds: 429 – Aurélien Denis on crafting emails natively in WordPress with MailerPress 
In this episode, Nathan Wrigley interviews Aurélien Denis about MailerPress, an upcoming WordPress plugin for sending email campaigns directly from your site. 

PHP Architect: The PHP Podcast: 2025.07.17 
This week on the PHP Podcast, Eric and John discuss Spec-driven Development with Kiro, JetBrains on Huggingface, Event Sourcing with Laravel Verbs, Automating your life with n8n, PHP Tek 2026 Website development using vibe coding, and more. 

Mostly Technical: 92: Hot Takes!
Ian and Aaron discuss timezones, visiting the rodeo, the Hot Takes Game, and so much more.

Syntax: AI Coding Roadmap for Newbies (And Skeptics)
Scott and Wes break down how to code with and for AI; perfect for skeptics, beginners, and curious devs. 

The Changelog: Humanity has prevailed (for now!)
PrzemysÅ‚aw DÄ™biak beat an advanced AI model from OpenAI in a 10-hour head-to-head coding marathon, Linux breaks 5% desktop share in U.S., Stefano Marinelli is writing a series on making your own backup system, César Soto Valero switched to Python (and is liking it), and Charlie Graham thinks it’s rude to show AI output to people.

Reading and Viewing

PHP Performance: Profiling and Optimization Techniques
I learned about performance profiling during the most stressful week of my career. Our Laravel application was processing orders for a major sale event, and at 2 PM on launch day, everything ground to a halt.

Stop Writing PHP Like It's 2010. These 10 Principles Are Non-Negotiable
Let’s be direct. If you’re still manually configuring Nginx, wrestling with Docker Compose files, or fighting with local SSL certificates every time you start a new project, you’re wasting your most valuable asset: time.  

How I Reduced Our PHP-FPM-Based Backend Stack Memory Utilization by Over 80% — Without Changing a Line of Code
So, once upon a time, while i was busy doing a big task “CI/CD Revision” I experienced something strange in the middle of one of its sub-tasks. 

Transforming PHP Codebases Using the Proxy Pattern
Clean Up and Optimize Your PHP Projects with the Proxy Pattern.

Understanding the LAMP Stack
If you’ve ever dipped your toes into web development, chances are you’ve come across the LAMP stack.

DDD for backend developers: why is it so hard to get started
In this article, I’ll break down why DDD feels intimidating at first, how it differs from what we usually do in PHP, and how to gradually adopt it without rewriting everything or becoming an architecture astronaut.

8 Laravel Secrets for a Secure, High-Performance API
Today, I’m sharing the 8 most powerful Laravel “secrets” I now consider non-negotiable in every backend I build. These tips are not just theory — they’re battle-tested in production.

PHP 8.5 Pipe Operator: Simplify Your Workflow
With PHP 8.5, a powerful new tool lands in your toolbox: the pipe operator (|>). It lets you chain operations cleanly, without nested calls or extra variables.

Interesting Projects, Tools and Libraries

lathanhvien/nova-text-currency
A Laravel Nova field to display currency number format.

laravel-ready/statistics
Ready to use Laravel statistic package.

hipsterjazzbo/laraparse
Integrate your Laravel 5 project with Parse (parse.com).

marcoslopez95/wrap-and-action-package
a package for create action classes and wrap classes.

jalr/quickbooks
Quickbooks PHP V3 SDK integration.

nawebco/box-packer
Yet another solution to the packing/knapsack problem.

dreitier/streamline-authentication
Common authentication methods for multi-tenant Laravel apps.

chrisguitarguy/clean-menu-walker
A WordPress menu walker implementation that doesn't attempt to indent and cleans up class names.

thormeier/breadcrumb-bundle
Symfony bundle for easy setup of breadcrumbs.

aklump/dompdf-fonts
Simplify the usage of TrueType fonts with DomPDF.

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