Hi everyone,
Weekly php updates and news are what we deliver straight to your inbox. This week we have articles on how static analysis tools can make your php code bullet proof. We also have a list of powerful enhancements in Symfony 7.3, as well as security best practices for Laravel. In tutorials we have guides for preventing Laravel disasters, using Filament components in public-facing pages and a solution to timezone issues with a Laravel converter. Finally in Podcasts we have new episodes from Laravel News on Pirates, argonauts and framework reminders. Developer Tea discusses the fear surrounding industry changes, while Mostly Technical chat about Livewire and the benefit of being a regular.
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
Bulletproof Your PHP Code with Static Analysis
Imagine catching bugs before they’re committed. Static analysis tools simulate a compiler’s brain for PHP — ensuring correctness, readability, and future safety.
Understanding Conditional Validation in Laravel with sometimes
When building apps with Laravel or even rest-api, validation is a key part of keeping your data clean and reliable. But what happens when you need to apply validation only under certain conditions?
Exploring PHP Spread Operator (`...`) for Arrays: Tips, Tricks & Real Use Cases
In this post, we’ll demystify the spread operator in PHP, explore practical use cases, and highlight how you can use it to write cleaner and more expressive code.
Artisan Commands You're Not Using (But Definitely Should)
Whether you’re just starting with Laravel or you’ve been building apps for years, it’s worth revisiting Artisan with fresh eyes.
Managing Laravel Queues Efficiently With FrankenPHP, Redis and Docker
TL;DR: Learn how to manage Laravel queues using Redis, Docker, and FrankenPHP. This guide walks through setting up a queue worker, dispatching jobs, and integrating Laravel Horizon — all within a Dockerized environment.
15 Laravel Security Best Practices in 2025
Whether you're building an MVP or maintaining a large-scale application, security must be a priority.
5 INCREDIBLE new features in Symfony 7.3
Symfony 7.3 is packed with powerful enhancements to boost your development experience. Here's a quick overview.
Clean & Scalable: Mastering Domain Services in PHP
Let’s unpack how to design robust, scalable domain services in PHP — and why it matters more than any shiny framework trick ever could.
|
Tutorials and Talks
Transform JSON into Typed Collections with Laravel's AsCollection::of()
Laravel enhances data handling capabilities with the AsCollection::of() method, enabling developers to transform JSON columns into strongly-typed collections of value objects automatically.
Streamline Pipeline Cleanup with Laravel's finally Method
Laravel enhances pipeline management with the introduction of the finally method, offering a more elegant approach to handling post-pipeline operations regardless of success or failure outcomes.
Validate Controller Requests with the Laravel Data Package
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.
How to Prevent Disasters in Laravel (A Critical Tip for Professional Developers)
In this tutorial, you’ll learn how to lock down destructive commands in production and avoid unintentional data loss with just a few lines of code.
Using a Custom Model for Laravel Authentication(Breeze) (e.g. Guest Instead of User)
In this quick guide, I’ll show you how to make Laravel Breeze work with a custom model, and how to fix the common “Forgot Password” issue when using anything other than the default User model.
Guide to using Filament Components in public-facing pages
This guide will show you how to include Filament components in your public-facing pages, step by step.
Timezones Got You Down? Build a Laravel Converter That Just Works
The Problem We All Face: Your user in Tokyo picks 2 PM → New York sees 1 AM, Calendar exports show wrong times, DST changes break everything. Here’s how I built a converter that handles all this – and how you can clone it.
The Complete Nginx Guide: From Basics to Advanced Configuration
This guide will take you through everything you need to know about Nginx, from basic concepts to advanced configurations, with a special focus on PHP/Laravel applications.
Building a Robust File Import System in Laravel with Real-Time Progress Updates
Before we begin, ensure you have installed the necessary package, Laravel Excel, which will be used for handling the import of CSV/Excel files. |
News and Announcements
CakeFest 2025 Tickets Now Available!
Get early bird pricing by using code CakePHPX for 50% off (limited time).
Join JetBrains PHPverse to Celebrate 30 Years of PHP - June 17, 2025
PHP turns 30 this June, and we’re looking forward to celebrating this notable milestone together with you!
PhpStorm 2025.2 Early Access Program Is Now Open
We’re opening the Early Access Program (EAP) for the next major PhpStorm 2025.2 release.
Arr::from() Method in Laravel 12.14
The Laravel team released v12.14.0, which includes a new Arr::from() method, a currentlyResolving() container method, new "except" Context methods, and more.
Deployer
Deployer is a free, open-source deployment tool written in PHP by Anton Medvedev. It helps you easily deploy your PHP application to a server.
May 12–18, 2025 - A Week of Symfony #959
This week, development activity focused on polishing Symfony 7.3 ahead of its final release in two weeks. We also continued publishing articles highlighting the new features of Symfony 7.3 and shared updates about the upcoming SymfonyOnline June 2025 conference.
New in Symfony 7.3: Yaml Improvements
Symfony has been reducing the need for configuration in applications for several years now. Thanks to PHP attributes, you can now configure most things alongside the relevant code, removing the need for external files and formats like YAML. However, YAML remains an important configuration format in Symfony and beyond. That's why Symfony 7.3 added several new features to the Yaml component.
FrankenPHP Is Now Officially Supported by The PHP Foundation
FrankenPHP, a modern high-performance PHP application server created by Kévin Dunglas and sponsored by Les-Tilleuls.coop, is now officially supported by the PHP Foundation.
|
Podcasts and Vlogs
Laravel News Podcast: Pirates, Argonauts, and framework reminders
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: Salesforce wants to do for agentic AI what they did for SaaS
Christophe Coenraets, SVP of Developer Relations at Salesforce, tells Eira and Ben about building the new Salesforce Developer Edition, which includes access to the company’s agentic AI platform, Agentforce.
Maintainable Podcast: Joe Masilotti: Simplify Your Stack, Ship Mobile Sooner
In this episode of Maintainable, Robby speaks with Joe Masilotti, an independent consultant who helps Rails teams ship mobile apps using Hotwire Native.
Software Engineering Radio: SE Radio 668: Steve Summers on Securing Test and Measurement Equipment
Steve Summers speaks with host Sam Taggart about securing test and measurement equipment.
Developer Tea: Career Advice for Surviving AI Outsourcing
This episode addresses the fear surrounding industry changes, such as AI and potential outsourcing, and offers actionable advice for engineers, managers, and leaders to navigate these challenges.
Shoptalk Show: 665: JavaScript Educator and Twitch Streamer Mat Marquis
Fresh off his Megaman Streamathon, Mat Marquis joins us to talk about becoming a professional Twitch streamer, creating a JavaScript course, his thoughts on the design and content of said course.
PHP Architect: Community Corner: Front-End Testing With Philip Tadeo
In this episode, we talk with Philip Tadeo about his talk at phptek 2025 about front-end testing.
Mostly Technical: 83: Use Your Brain
Ian and Aaron discuss a certain viral tweet about Livewire, the benefits of being a regular, Aaron's video about Cloudflare, & more.
Syntax: Fork Yeah! Microsoft open sourcing Copilot
Eric Gamma and Kai Metzler from the Versus Code team announce open sourcing AI features from GitHub Copilot into core Versus Code.
The Changelog: Windows Subsystem for Linux is open source
Microsoft finally opens the source of WSL, Paolo Scanferla describes an inherent trade-off in TypeScript’s type system, Alberto Fortin is taking a step back from heavy LLM use while coding, a pseudonymous hacker spent two weeks coding from their Android phone, and NLWeb might become the HTML of the open agentic web.
|
Architecting Laravel for Scale: Battle-Tested Patterns for Clean Code & High Performance (Part 2)
This is the second article in my series on Laravel architecture for large-scale applications.
Laravel Worker with Supervisor: Automate Your Way Out of Manual Madness
We all know that most mind-numbing, repetitive tasks can be offloaded to automation - and nothing beats the good old cron job when it comes to routine work.
Why I Stopped Using Laravel Sail…
As a Laravel developer working across multiple projects at once, I initially loved how easy Sail made it to spin up a Docker environment. But the more projects I added, the more issues I ran into.
Monotoring Your Symfony App using Datadog ? Nope Let’s use Sentry ^_^
In this article, I’ll walk you through how I integrated Sentry with my Symfony task management application — but more than that, I’ll share the structured reasoning and operational thinking that shaped this decision.
Mastering Binary Tree Inorder Traversal
In-order traversal is particularly significant in binary search trees (BST) because it retrieves elements in their natural order. The process involves visiting the left subtree, then the root node, and finally the right subtree.
From Docker to Serverless: Transitioning Your Symfony App to AWS Effortlessly
Let’s explore how transitioning your Docker-based Symfony application to a serverless architecture on AWS can simplify your operational workload, enhance scalability, and reduce costs.
|
Interesting Projects, Tools and Libraries
tikiwiki/ilp-client
The PHP client library for Interledger. Integrates with ILP SPSP Invoice Server allowing to create and get invoices.
seegno/uphold-sdk-php
Uphold SDK PHP for the Uphold API.
zozlak/yaml-merge
A simple tool for merging & batch-editing yaml files.
cradlephp/cradle-website
Common Schemas and front end for websites.
ajcastro/eager-load-pivot-relations
Eager load pivot relations for Laravel Eloquent's BelongsToMany relation.
ngmy/laravel-query-log-tracker
The Laravel package which log all executed queries.
fico7489/laravel-pivot
This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.
numero2/contao-storelocator
Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data.
lukaswhite/screenshotter
A PHP package for taking website screenshots using PhantomJS.
careship/functional-php
A monad-like set of utilities for PHP, type-checked by Psalm.
|
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?
|
|
|
|