Hi everyone,
When it comes to the subject of PHP, our newsletter provides the latest news gathered and presented to you weekly right to your inbox. This week we have tutorials on optimising Docker images, handling validation errors, and business logic patterns for cleaner Laravel codes. In Podcast we have new episodes from the guys at North Meets South, and this week Jake and Michael cover an wide array of topics including finding smarter ways to use video on the web and Laravel prep. The PHP Architect podcast talk about feedback from attendees of PHP Tek 2025, Cloudflare outage and more. Finally in our Reading section we have articles on mastering the Laravel lead developer role, powerful features of Laravel Storage, and a breakdown of the Service Pattern in Laravel.
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
Asymmetric Property Visibility in PHP
In this article, we're going to explore asymmetric visibility in PHP and how to use it. By the end of the article, you should feel confident enough to give it a try in your own applications.
Style Guide Proposal: Parentheses and Braces in PHP
This document presents a thorough reflection on how to establish a readable, rigorous, and coherent coding syntax for the use of parentheses and braces in PHP.
Why Your PHP App is Slowing Down and How Monitoring can Help?
Let’s explore the common reasons why PHP apps slow down and how monitoring brings them to light.
7 Laravel 12 Methods You Won’t Find Easily in the Docs
Laravel 12 came with a lot of great features, but some of the best additions don’t show up in the documentation.
Why Your PHP App is Slowing Down and How Monitoring can Help?
PHP applications can feel lightning fast during development but in production, everything changes.
Stop Just Coding! Understand How Laravel Limits User Requests
Have you ever had your server suddenly slow down — or even crash — because someone kept sending too many requests in a short time? That’s where Rate Limiting comes in.
|
Tutorials and Talks
How to create an MCP server with Symfony
Large Language Models (LLMs) are powerful, but they do not have access to the outside world: they cannot navigate on the Internet, browse their host machine’s file system, access an external database.
Building a RAG (Retrieval-Augmented Generation) system in PHP with Neuron AI
In this article, we explore how to build a simple but powerful Retrieval-Augmented Generation (RAG) system using Neuron AI and Ollama.
How to Optimize Docker Images for Laravel Apps: A Simple Guide
In this post, I'll show you how to make you Docker image smaller and faster using multi-stage builds, lightweight images, and a few best practices.
Mastering Laravel Job Queues - A Developer-Friendly Guide
In this post, I’ll guide you through why and how to use Laravel queues effectively, with real-life examples, commands, and best practices.
How to Use withAttributes() in Laravel to Add Default Attributes When Creating Models
Let’s say you're building an invoicing system. Each User can have many invoices. Some invoices are finalized, and others are still in draft mode.
Handling Validation Errors for Multiple Forms
When dealing with multiple forms on a single page, especially when the forms contain duplicate input names, Laravel’s default validation approach can cause issues.
Clean Code in Laravel: Business Logic Patterns You Should Know
When you're building a Laravel application that scales beyond a few controllers and models, you’ll quickly feel the need for a cleaner, more maintainable architecture.
Pass a Query Builder to “whereIn” to Reduce Your DB Queries
I recently learnt about a cool feature in Laravel that allows you to pass a query builder instance ( Illuminate\Database\Query\Builder) directly to the whereIn method of another query builder to reduce the number of separate database queries executed. So I thought I’d put together a quick example to show you how it works. |
News and Announcements
Encrypt and Decrypt String Helpers in Laravel 12.18
The Laravel team released v12.18.0, with encrypt and decrypt string helpers, per-request truncation limit for HTTP client responses, a new command option to make batchable jobs, and more.
June 9–15, 2025 - A Week of Symfony #963
This week, Symfony celebrated the SymfonyOnline June 2025 conference with great success. Meanwhile, development efforts focused on improving invokable commands for the upcoming Symfony 7.4 version. These commands will now support backed enums in arguments and options, allow you to define usages via attributes and be easier to use when using the Console component standalone.
113 Days Left To Cakefest 2025
The Cakephp Conference - MadridOct 9th - 10th 2025
International PHP Conference Munich 2025 - October 27 – 31, 2025,Munich or Online
The International PHP Conference is the world's first PHP conference and stands since more than a decade for top-notch pragmatic expertise in PHP and web technologies.
PHP Conference Kansai 2025 - Date: July 18 - 19, 2025 | Kobe, Japan.
PHP Conference Kansai is a large-scale technical conference in Japan for PHP engineers to share their technical knowledge and experiences in and around PHP.
|
Podcasts and Vlogs
The Stack Overflow: “We’re not worried about compute anymore”: The future of AI models
Ryan Donovan and Ben Popper sit down with Jamie de Guerre, SVP of Product at Together AI, to discuss the evolving landscape of AI and open-source models.
North Meets South Podcast: Liquid glass, video thumbnails, and children growing up
In this episode, Jake and Michael reflect on parenting, discuss Apple's new Liquid Glass UI, finding smarter ways to use video on the web, plus share thoughts on AI overload, Laracon prep, and why Wistia might be your next favourite video tool.
Software Engineering Radio: SE Radio 672: Luca Palmieri on Rust In Production
Luca Palmieri, author of Zero to Production in Rust and Principal Engineering Consultant at MainMatter, speaks with SE Radio host Gavin Henry about Rust in production.
Developer Tea: Why Maintenance Matters Now - Construal Level Theory, Marshmallows, and Hyperbolic Discounting
This episode explores why maintenance tasks, despite their fundamental importance, are often neglected or deprioritised in our daily lives and professional work.
Shoptalk Show: Peter Pistorius on Developing RedwoodSDK
We're chatting with Peter Pistorius about the change they made from RedwoodJS to RedwoodSDK, how it's going to handle routing, some new marketing ideas for RedwoodSDK, how RedwoodSDK's principles are informed by where Peter's from, choosing to go all in on Cloudflare, how the community has responded, and plans for monetization.
WP Builds: 424 – Revolutionising WordPress theme management with Brad Williams and Theme Switcher Pro
In this WP Builds episode, Nathan Wrigley chats with Brad Williams about his longstanding role in the WordPress community and the launch of Theme Switcher Pro, a plugin that lets you run multiple themes on a single WordPress site.
PHP Architect: The PHP Podcast: 2025.06.12
This week on the PHP Podcast, Eric and John talk about Running the a PHP Business, Feedback from attendees of PHP Tek 2025, Cloudflare Outage, New Salt Lite Framework, and more.
Mostly Technical: 87: No Sparkle Buttons
Ian and Aaron talk about UI Kits in the era of AI, dreams of being at Laracon, Aaron’s next steps, Ian’s mysterious side project, and more.
Syntax: Why did Figma buy a CMS?
Wes chats with James Mikrut, founder of Payload CMS, about being acquired by Figma! They discuss building an open source business, the future of UI design, AI interfces, and what this means for the future of Payload and Figma.
The Changelog: Stop uploading your data to Google
Lukas Mathis tells us to stop uploading our data to Google, Robert Vitonsky wants web devs to not guess his language using his IP, Tom from GameTorch reminds us that software talent is gold right now, Austin Parker from Honeycomb describes how LLMs are upending the observability industry.
|
Get to Know Service Pattern in Laravel: The Secret to Clean Code Nobody Talks About!
In this article, we’ll break down what the Service Pattern is, why it matters, when you should use it, who it’s for, where to put it, and how to implement it — all using the classic 5W+1H approach. Let’s dive in!
Mastering the Laravel Lead Developer Role: Roadmap & Real-World Tech Tests
In today’s ever-evolving web development landscape, becoming a Lead Laravel Developer is more than mastering a PHP framework.
Laravel Model Events: Run Automatic Actions When Data is Created, Updated, or Deleted
Let’s dive into what model events are, how to use them, and why they’re worth implementing in your Laravel projects.
Laravel Storage: The Powerful Feature Most Beginners Overlook
When starting with Laravel, most beginners focus on routing, controllers, and blade views — which is great. But there’s one powerful feature that often goes unnoticed: Laravel Storage.
Advanced Dependency Injection Techniques in Modern PHP Applications
In this article, we’ll journey beyond simple examples and dive deep into sophisticated DI patterns and container strategies that help you build robust, decoupled PHP systems.
Data Types in Haskell and Classes in PHP: A Beginner Functional Programmer’s Viewpoint
Data and its associated behaviour is the lifeline of every programming language and it helps provide modularity, cohesion and sometimes even provide domain context for certain parts of our application.
|
Interesting Projects, Tools and Libraries
macocci7/php-frequency-table
it's easy to use for creating frequency distribution tables.
shuvroroy/nova-tabs
A tool for Laravel Nova which allows you to create tabs in your resource detail & form page.
clayfreeman/browser-debug-utils
A collection of command-line utilities to aid in debugging browser engines.
micro-module/broadway
Infrastructure and testing helpers for creating CQRS and event sourced applications.
zoilomora/editthiscookie-for-guzzle
FileCookieJar implementation for EditThisCookie in Guzzle.
emanuellopes/composer-vendor-cleaner
Removes as much as possible from your vendor dir when space or number of files is important.
instituteweb/environmental
Provides environment functionality for iw_master and TYPO3.
shipu/themevel
Theme and asset management for laravel.
thinktomorrow/vine
Generate a tree from an adjacent database structure.
subvitamine/laravel-a-ray
Package laravel for create push to a-ray.
|
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?
|
|
|
|