Hi everyone,
Every day is an opportunity to advance your knowledge, to gather the tools to boost your skillset and learn new techniques. That's what we do here weekly, and in this week's newsletter we have tutorials on Laravel Global Scopes, Fluent object operations with Laravel's enhanced helper utilities, and handling soft deletes and multi-tenant uniqueness in Laravel. In Podcasts we have new episodes from Laravel News with a special live episode where the hosts are in Denver at Laracon US to recap the highlights of the event. Developer Tea delves into a powerful model for encouraging behaviour change, while PHP Architect chats about how to get started using Open Swoole in your PHP projects. Finally in our Reading section we have articles on efficient workflows for multiple composer projects, Advanced Eloquent tricks, and Why and when you shouldn't use Laravel for your projects.
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:
|
Articles
Understanding Laravel Eloquent Relationships: From Basics to Polymorphic
In the last two articles, we established a solid foundation with Laravel's MVC pattern and routing system. Now, it's time to tackle the heart of any data-driven application, the connections between your data.
Lazy Evaluation in PHP: Real‑World Memory Savings with Generators
In PHP, you can achieve this in two ways: with generators (yield) and via the Iterator API. Let’s explore both.
Effortless Laravel Localization: Auto-Generate JSON Locale Files and Translate with Google or DeepL
When building multilingual websites or web applications in Laravel, managing localization files can quickly become a headache.
Top PHP Functions to Disable for Enhanced Server Security
Let’s talk about the PHP features you should turn off for greater security and why this is a vital step for every server admin or website owner, even if you’re not a techie.
PHP Meets AI – Integrating OpenAI or Gemini APIs in Your PHP Stack
Whether you're building chatbots, content generators, or smart recommendation engines, integrating AI into your existing PHP stack can give your app superpowers without overhauling your tech stack.
Mastering PHP String Tools: High-Performance Methods for Real-World Text Processing
When building APIs, CLI tools, or data pipelines, robust string operations are essential — without compromising performance or correctness.
|
Tutorials and Talks
Laravel Global Scopes: Automatic Query Filtering
Global scopes provide a streamlined way to apply consistent constraints across all queries for specific Eloquent models. Laravel's soft delete feature demonstrates this concept by automatically filtering out deleted records from query results.
Laravel's UsePolicy Attribute: Explicit Authorization Control
Need to override Laravel's automatic policy detection or make authorization relationships more transparent in your codebase? The UsePolicy attribute provides direct control over which policy class handles your model's authorization logic.
Fluent Object Operations with Laravel's Enhanced Helper Utilities
Laravel's object manipulation helpers provide developers with elegant solutions for creating and modifying objects through expressive, chainable operations. These utilities eliminate repetitive code patterns while promoting cleaner, more readable implementations across various application contexts.
Laravel Security Guide: 6 Common Mistakes and How to Fix Them
This guide covers six common Laravel security mistakes (based on the Laravel Security Guide video) and provides practical fixes with examples you can use today.
Handling Soft Deletes and Multi-Tenant Uniqueness in Laravel
When building web applications in Laravel, two common database challenges often come up: 1. Handling soft deletes without breaking unique constraints. 2. Supporting multi-tenant uniqueness within a shared database.
How to Handle PHP's Intersection Types
You can solve complex type requirements by using intersection types with the & operator.
Laravel 12 Create, Skip, Run and Rollback Migrations
In this guide on "Laravel 12: How to Create, Skip, Run, and Rollback Migrations", you'll learn how to work with Laravel migrations effectively.
PHP Attributes in Laravel: Complete Guide 2025
In this comprehensive guide, you'll learn everything about PHP attributes, from basic syntax to advanced Laravel implementations. |
News and Announcements
Announcing Featurevisor PHP SDK
With the introduction of Featurevisor PHP SDK, you can now use Featurevisor in your backend applications written in PHP, without or with established frameworks like Laravel, CakePHP, Symfony, and more.
Filament v4 is Stable!
It's official! As of today, August 12, 2025, Filament v4 is officially stable! And in large part, that is thanks to our incredible community and all the help with testing, bug fixing, and overall recommendations.
Laravel Boost, your AI coding starter kit
As part of the keynote presentation on Day 1 of Laracon US, Taylor Otwell introduced Ashley Hindle, who has recently joined the Laravel team and is spearheading Laravel's AI initiatives.
Everything We Know About Livewire 4
Caleb Porzio presented Livewire 4 on the second day of Laracon US 2025, unveiling the next major version of Livewire.
August 4–10, 2025: A Week of Symfony #971
This week, Symfony completed the migration to PHPUnit 12 in the 7.4 branch, which required many changes during the past weeks, such as replacing annotations with attributes. In addition, we updated the container XML dumping process to not require the PHP XML extension. Finally, we also published more details about the hackday to be celebrated during the SymfonyCon Amsterdam 2025 conference.
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
Laravel News Podcast: Laravel News live from Laracon
In this special live episode, Jake and Michael sit down face to face (for the first time ever!) at Laracon US 2025 in Denver to bring you a recap of the conference atmosphere, and highlights from the talks right from the floor of the venue.
The Stack Overflow: AI isn’t stealing your job, it’s helping you find it
Wenjing Zhang, VP of Engineering, and Caleb Johnson, Principal Engineer at LinkedIn, sit down with Ryan to discuss how semantic search and AI have transformed LinkedIn’s job search feature.
Software Engineering Radio: SE Radio 680: Luke Hinds on Privacy and Security of AI Coding Assistants
Luke Hinds, CTO of Stacklok and creator of Sigstore, speaks with SE Radio’s Brijesh Ammanath about the privacy and security concerns of using AI coding agents.
Developer Tea: Behavior Change 101: Trigger, Incentive, and Ability
This episode delves into a powerful model for encouraging behaviour change, applicable to both managing others and self-improvement, by focusing on three critical factors.
Shoptalk Show: Background Code Agents, Append AI, and RSS Starter Packs
What helps you remember a person's name, thinking about background coding agents, is AI for append only mode, what are MCPs and how should I think about them, what has been working for more than a month not just the last two days, and coming up with an RSS starter pack riffing off Molly White's article on using RSS.
WP Builds: 432 – How Dave Grey is fixing WordPress admin pain points with smart utility plugins
In this episode, Nathan Wrigley chats with Dave Gray about his journey transitioning from a corporate career to running his own WordPress focused business.
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. They explore the evolution of Laracon, new framework features designed to make the ecosystem even more accessible, and the cohesive design philosophy behind it all.
PHP Architect: Community Corner: Jacked PHP with Savio Resende
In this episode, we talk with Savio Resende about Open Swoole and Savio's book "Jacked PHP" which discusses how to get started using Open Swoole in your PHP projects.
Mostly Technical: 94: Full Sleazy Lock In
Ian and Aaron discuss pricing for Outro.fm, what kind of sponsors Aaron should have on Database School, trips vs. vacations, GPT-5, and so much more.
Over Engineered: (Actually good) browser testing w/ Nuno Maduro
Up until now, browser testing in Laravel has felt… bad. Dusk was a huge step over nothing, but it's been slow and flaky and just waiting to be replaced with something better. And with Pest 4, Nuno's cracked it!
Syntax: AI Browsers, 100X Build Speed, Massive Svelte Update - Web Dev News
Scott and Wes break down the latest in web dev news, from Amazon’s AI-powered VS Code fork and Node’s native TypeScript support, to Vite overtaking Webpack and Svelte’s newest async and remote features.
The Changelog: Open source regrets
Open source maintainers share their regrets, Thomas Dohmke steps down as GitHub CEO, James Kettle breaks down HTTP/2 from a security perspective, PHP is getting the pipe operator this November, and a class action copyright suit threatens Anthropic and the rest of the AI industry.
|
Efficient Workflows for Multiple Composer Packages
As projects grow, it’s common to split code into single-purpose, reusable components. In PHP, these are often packaged for installation via Composer.
Advanced Eloquent Tricks That Will Instantly Boost Your Laravel App Performance
I’ve distilled 15 battle‑tested techniques — beyond basic eager loading — that transform sluggish queries into sub‑millisecond operations.
Composer Does More Than You May Realise
In the past, while interviewing to fill a Senior PHP Developer role for the company I work at, I discovered developers that have learnt PHP from starting with Laravel, rather than the other way around, which isn’t necessarily a problem, but is quite interesting.
Message Channels: Zero-Configuration Async Processing
What if I told you that making any PHP method asynchronous could be as simple as adding a single attribute? And switching between message brokers — from RabbitMQ to Kafka to database queues — required zero code changes?
Why and When You Shouldn’t Use Laravel for Your Product
I’ve built 20+ Laravel products, but here’s the truth: Laravel isn’t the right choice for every project.
Performance Optimization in Modern Web Applications
In this article, we’ll explore modern performance optimization techniques, starting from the backend — because a slow server will bottleneck even the fastest frontend.
|
Interesting Projects, Tools and Libraries
unisharp/laravel-uploadable
A simple package to attach files to a eloquent model.
havenshen/larsign
Laravel signature certification with web API server.
thewebmen/silverstripe-formbuilder
Silverstripe formbuilder to create forms in the cms.
dreamaker/seek
this package helps handle array activities, creating, accessing, pushing, pulling items in and array.
wapmorgan/threadable
Easy-to-use threading library providing all basic features to run your code in parallel mode.
togos/xml-rdf-parser
Library for XML and XML+RDF parsing.
spriebsch/uuid
A fast and simple no-frills UUIDv4 implementation.
itcig/phpunit
PHPUnit extender for bootstrapping unit and integration test suites.
kregel/laravel-abstract
Dynamic Laravel CRUD API with support for auth policies.
tapbuy/data-scrubber
A tool to help with scrubbing sensitive data.
|
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:
Protect 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?
|
|
|
|