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!

June 26, 2025

Hi everyone,

This week's newsletter is stacked with tutorials, news and the latest updates from the PHP community. We have guides on adjusting the session timeout duration in your Laravel application, parsing localised numbers, expolring the ways to find the PHP socket file, and retrieving command parameters in Laravel Artisan. In Podcasts we have new episodes from No Compromises and this week they unpack how they use code-coverage numbers as a starting signal rather than a finish line. Developer Tea delves into simpler queries, while Laravel podcast discusses leading engineering teams with empathy. Finally in our Reading section we have articles on the role of cloud security in the digital age. dependency inversion principle in PHP and 5 tips to make Laravel Filament lighter. 

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

Laravel Queue and Job System: From Table Creation to Production Deployment
In this post, we’ll take a step-by-step tour of Laravel’s job handling process, from table creation to production setup with Supervisor. Whether you’re debugging failed jobs or scheduling retries with delays, you’ll find everything you need right here.

Supercharge Your PHP Enums with archtechx/enums
PHP 8.1 introduced native enumerations (enums), which define a type-safe set of named values for modeling fixed sets of constants, such as statuses or roles. Enums can be pure (no associated values) or backed (tied to string or integer values).

How a Single Bug in PHP 3 Changed the Internet Forever
The year was 1998, and the internet was a vastly different place. While most developers were still wrestling with Perl CGI scripts and basic HTML forms, something extraordinary was brewing in the code repositories of a small but determined development team.

Why Should Passwords Be Hashed? Laravel Has the Answer
Have you ever wondered why we should never store user passwords as plain text in a database? It might sound convenient — you can read the password, verify it easily, and move on. But here’s the truth: That’s exactly how your app becomes a goldmine for hackers.

Laravel Tips: For Beginners
Working with Laravel is great, but we can always improve how we use the framework. Here are 5 quick tips to help you write better code.

Symfony Lazy Services with Style: Boost DX using Service Subscribers
In this article, we’re going to see how useful service subscribers are through a typical example I have experienced.

The “never” Type in PHP
There may be times when you’re writing a function in PHP that you know will never return a value. This could be because the function always throws an exception, or maybe calls exit or die. In these cases, you might want to use the never type.

Tutorials and Talks

Building a Task Reminder With Laravel and MongoDB
The popularity of Laravel has improved recently as more developers have started to adopt the technology. Laravel has an easy-to-understand syntax that boosts productivity by letting the developer focus on the core features of their application and not bother with repetitive tasks like authentication and sending emails. 

Retrieving Command Parameters in Laravel Artisan
Laravel provides straightforward methods for accessing arguments and options within your custom Artisan commands. These built-in helpers simplify parameter retrieval and validation.

Test Deferred Operations Easily with Laravel's withoutDefer Helper
Laravel introduces new test helpers to control deferred operation execution, allowing developers to test deferred functions without waiting for the request lifecycle to complete.

Adding terms and conditions acceptance to Filament Registration
In this tutorial, we'll walk through how to customize a Filament panel’s registration page to include a mandatory checkbox for terms acceptance — using the filament-terms-guard plugin. 

How to Increase or Decrease Laravel Session Lifetime
This guide will walk you through adjusting the session timeout duration in your Laravel application. You’ll explore two straightforward techniques.

Inheritance in PHP OOP: A Simple Guide
Inheritance is a key feature of Object-Oriented Programming (OOP) in PHP. It allows one class (called a child class) to inherit properties and methods from another class (called a parent class).

Laravel Tip: Automatically Set created_by with Model Events
Want to track who created or updated a record in Laravel? Try this.

Finding the PHP Socket File
In this article, we'll explore the ways to find the PHP socket file, even if it's not explicitly defined in the configuration.

Crafting Magic with Artisan Model:Show — Your Easy Guide to Stunning Outputs!
Here’s a simple guide to using the artisan model:show command in Laravel, designed for beginners and seasoned developers alike. This command, part of Laravel’s Artisan CLI, helps you inspect and understand your Eloquent models with ease.

How to Create Your Own Laravel String Helper Method Using a Macro
Laravel's String helper offers many useful methods you can use in your application. We can also create our own laravel string helper method using a macro.

Create And Monitor AI Agents In PHP
In this tutorial, Valerio, CTO of Inspector, demonstrates how to develop and monitor an AI agent using the Neuron AI framework and Inspector within a PHP codebase. 

Parsing Localized Numbers with Laravel’s Number Class
Need to parse localized numbers in your Laravel application? The Number class now includes parsing methods that handle locale-specific number formats using PHP’s Intl extension.

News and Announcements

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.

Discover Junie for PhpStorm: A Game-Changing AI Coding Agent for PHP Development
With the release of Junie, the AI coding agent by JetBrains, PhpStorm has entered the realm of agentic IDEs. Now, the PhpStorm IDE doesn’t just provide classical developer productivity tools and AI assistance features, but can also do massive amounts of work for PHP developers autonomously.

Laravel 12.19 Adds a useEloquentBuilder Attribute, a FailOnException Queue Middleware, and More
The Laravel team released v12.19.0 with a UseEloquentBuilder PHP attribute, an AsFluent model cast, FailOnException job middleware, assert redirect back with errors, and more.

Filament v4 Beta - Feature Overview
The Filament v4 Beta is here with a range of powerful, helpful updates. It's faster, easier to use, and gives you more control when building applications. In this article, we highlight what's new and how these changes can improve your workflow!

June 16–22, 2025- A Week of Symfony #964
This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighter integration with FrankenPHP, the modern PHP application server. In addition, we proposed a new feature that allows using the helpers from AbstractController without extending it.

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

Laravel News Podcast: Watching the night, essential defaults, and cable broadcasts
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: How to build your prototypes without a 35% tariff 
Ryan and Ben welcome Alex Malcoci, CEO and founder of MiniProto, to talk innovations in hardware prototyping, the evolving complexities of the global supply chain, the impact of the US-China trade war on manufacturing, and how automation in production could lead to new training programs for future engineers.

No Compromises Podcast: Balancing test coverage without chasing 100 percent
Joel and Aaron unpack how they use code-coverage numbers as a starting signal rather than a finish line. They discuss realistic thresholds, choosing the right tool for each test layer, and why coverage metrics can double as negotiation leverage inside big organizations. Listen in for practical ways to decide what to test—and when to stop.

Software Engineering Radio: SE Radio 673: Abhinav Kimothi on Retrieval-Augmented Generation
In this episode of Software Engineering Radio, Abhinav Kimothi sits down with host Priyanka Raghavan to explore retrieval-augmented generation (RAG), drawing insights from Abhinav’s book, A Simple Guide to Retrieval-Augmented Generation.

Developer Tea: Great Reviews and Terrible Tacos - Sharpening Substitute Questions with Counterfactuals
This episode delves into the use of substitute questions—simpler queries we use to answer more complex ones—and the crucial concept of cohesion between these substitutes and our true objectives. 

Shoptalk Show: Brad and Ian Frost on Their New Design Tokens Course
Brad and Ian stop by to chat about their new course, The Complete Guide to Design Tokens, what happens if you don't use design tokens on projects, what the ideal outcome is for building and designing with design tokens, how many colors is enough, what about refactoring, and does Figma or code win the argument?

WP Builds: 425 – From radio addiction to Do the Woo / Open Channels: Sir Bob Dunn on his podcasting journey 
In this episode, I with veteran podcaster Bob Dunn about the evolution of podcasting, especially within the WordPress and WooCommerce spaces. 

Laravel Podcast: Leading Engineering Teams with Empathy
In this episode of the Laravel Podcast, Matt Stauffer sits down with André Valentin, Director of Engineering at Laravel, to explore his unique journey from customer support to engineering leadership.

PHP Architect: The PHP Podcast: 2025.06.19 
This week on the PHP Podcast, Eric and John discuss PHP TEK 2025 Tony Plushy going out, JetBrains AI, One Billonth GitHub Repo, Running Linux Inside of Microsoft Excel, Rest-Certain Project, and more.

Mostly Technical: 88: Steve's Leaving Try Hard?!
Ian and Aaron talk about Ian’s new side project….which already has a domain name (!?!) before digging deep into an even bigger bombshell: Steve is leaving Try Hard?

Syntax: NEWS: Remix drops React, Safari 26 CSS + mega fast Vite and TypeSCript
Wes and CJ break down the latest web dev news, including big changes in Safari 26, TypeScript Native Previews, and Remix dropping React.

The Changelog: Just on the rocks
Jerod tells Adam about how bad he hates the taste of Gin, sips on some Generative A Rye (on the rocks), they open the comments section for a bit, and then land the plane talking about being alone, naked, and afraid.

Reading and Viewing

The Role of Cloud Security in a Digital Age
This article will delve into crucial aspects of cloud security, focusing on the challenges and best practices essential for protecting data and applications in the cloud.

How we tamed PHP to handle over 25,000 webhooks per second
The day Katy Perry introduced us to Redis, how to replace over thirty ReactPHP instances in just 50 lines of Lua code, and other mischiefs & adventures of Manychat Backend team.

Stop Copy-Pasting Code! Learn How to Use Traits in Laravel the Right Way
Have you ever created two or more models in Laravel that needed the exact same functionality? Maybe a logging function, a slug generator, or some date formatting helper? Instead of copy-pasting the same code across multiple models, Laravel gives you a clean solution: Traits.

Dependency Inversion Principle in PHP — Depend on Abstractions, Not Concrete
The Dependency Inversion Principle (DIP) is the “D” in SOLID and arguably the most misunderstood — but also the most powerful for designing decoupled, scalable systems.

Bypassing $fillable in Laravel Safely with forceFill()
Have you ever spent time using create() to save data in Laravel, only to realize later…Fields like role or status didn't make it into the database?

5 Tips to Make Laravel Filament Lighter
This article will discuss 5 tips to make Filament lighter that you can follow.

Why PHP Needs a Native Str Class (And What We Did About It)
If you’ve written code in JavaScript, Python, or even Go, you’ve likely taken for granted the power and elegance of string handling in those ecosystems.

Interesting Projects, Tools and Libraries

staudenmeir/eloquent-json-relations
Laravel Eloquent relationships with JSON keys.

protonlabs/php-coding-standard
ProtonLabs Coding Standard.

halimtuhu/array-images
A Laravel Nova field for distribute your images as array of object.

zrnik/zweist
OpenAPI routing for Slim Framework 4 with `zircote/swagger-php`.

strictus/strictus
Strict Typing for local variables in PHP.

prevplan/laravel-heartbeat-status
Monitor Laravel queue and schedule status.

sunnytreesoftware/acorn
Photo Profile Management System for Laravel.

ympact/flux-icons
A package to provide icons from different vendors for Livewire Flux.

sfneal/validation-rulesets
A simple way to keep your Laravel validation rules a bit more DRY.

nebbo.o/laravel-sheet-parser
A Laravel package to parse data from public Google Sheets and CSV files using a unified interface.

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