PHP Weekly - PHPWeekly June 6th 2024

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 6th June 2024

Hi everyone,

If you're looking for after Symfony content, you're in luck. In this week's newsletter we have some articles on Symfony along with news on a new update on 7.1. We have a tutorial on how to extend your Symfony console app with events and attributes, along with a guide on how to use the new Symfony Maker command to work with GitHub webhooks. We also have an article on parameter replacement in Symfony. In podcasts we have new episodes from North Meets South and they chat about what they're into. Taylor Otwell joins the Mostly Technical team to discuss the Laravel vs JS Twitter wars, and on the Laravel podcast Taylor is with Matt to cover topics suggested by their listeners. Finally in our Reading section we have lesser known yet useful Composer commands, as well as an article on Architecture testing in Laravel with pest. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.

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

Do follow us on our social media channels on Twitter and Facebook

All the best,

Please help us by clicking to our sponsor:

encrypt php scriptsGet Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.


The Ultimate Guide To Laravel Validation
Validation is an important part of any web application. It can help to prevent security vulnerabilities, data corruption, and a whole host of other issues that can arise when you're working with user input.

Product’s Nested Categories Display in PHP and MySQL
Are you working on an E commerce Project or any other project which has the hierarchical structure of records in the database?

Top repositories for Laravel developers 2024 edition
Are you ready to dive into the Top 10 repositories for learning and exploring Laravel?

Replace parameters in Symfony
In my previous post i talked about Multi-tenant. But there is another way to replace configuration, and do almost the same things, but with replacing the parameters.yml.

Top 10 PHP Vulnerabilities You Need to Know: Beyond SQL Injection, XSS, and CSRF
The second article shifts focus to vulnerabilities that can alter server-side logic. We discuss Server-Side Template Injection (SSTI), where attackers exploit server template features to execute arbitrary code.

Tips for writing a better code in PHP
Here i will be guiding you through some of the important steps to achieve that, to keep your PHP code efficient and reliable .



Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.

Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.

Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.

Tutorials and Talks

Using Eloquent Factories With PHPUnit Data Providers
There are a few ways to work with Laravel's factories in feature tests, such as creating a model during setUp() when you want to use it for multiple tests or directly in an individual test case.

Monitor Code Processing Time in PHP with Time Warden
Time Warden is a lightweight PHP library that enables you to monitor the processing time of tasks and take actions on thresholds exceeding defined execution time limits. It's probably best illustrated with an example from the readme.

Automate your database backups with Laravel: A comprehensive guide
Today, we'll explore how to automate database backups using Laravel.

How to use the new Symfony Maker command to work with GitHub Webhooks
Recently I've been working on a tool that would gather some open-source contribution metrics from our teams.

Simulating Web requests with custom User-Agent using PHP
Today we are going to create a tool to simulate web requests using a custom User-Agent. It will be useful for the following cases (the ones I considered when creating it).

Implementing Custom Admin Auth Middleware in Laravel Filament
I would like to assume you have followed the Filament setup at

How to Parse Date & Time Info from Natural Language Input in PHP
We can easily parse natural language date & time strings into neatly formatted data using just a few lines of PHP code.

Extend your Symfony Console app with events and attributes
You can easily build a console application using the Symfony Console component, but did you know that you could extend it just as easily?

QuickPay Integration in Laravel PHP
So, I was looking for some tutorial or anything but couldn’t find it.. So, here it is for someone who are trying to find it’s integration.

Code quality tools : PHP-CS-Fixer
In this tutorial we will try to set up PHP-CS-fixer on Visual Studio Code.

News and Announcements

PHP Annotated – May 2024
Welcome to the May edition of PHP Annotated! We’ll recap the most interesting developments in the PHP community over the past couple of months, featuring handpicked news, articles, tools, and videos.

A New Minimal Default Exception Page With Dark Mode Support in Laravel 11.9
This week, the Laravel team released v11.9, which includes a new default exception page, a way to prevent destructive commands from running, a withoutDelay() queue method, and more.

Symfony 7.1.1 released
Symfony 7.1.1 has just been released. Here is the list of the most important changes since 7.1.0.

A Week of Symfony #909 (27 May - 2 June 2024)
This week, Symfony 7.1.0 was released. We also upgraded the official Symfony book to Symfony 6.4. Meanwhile, we published more details about the SymfonyOnline June 2024 conference that will take place next week and about the accommodation for the next SymfonyCon Vienna 2024.

CakeFest 2024: The Official CakePHP Conference
Our annual conference dedicated to CakePHP. One full workshop day (plus one hybrid day) that is an ideal way to learn as both beginners and advanced users, followed by a full day of presentations, discussions and talks on CakePHP related technologies.

Podcasts and Vlogs

The Stack Overflow: How to prevent your new chatbot from giving away company secrets
This week we chat with Kamakshi Narayan, Director of Product Management at SnapLogic, who is focused on how APIs can apply fine-grained controls for privacy and governance to the LLM-powered AI apps vacuuming up our data.

North Meets South Podcast: Music, feature flags, and making the new one do what the old one did
In this episode, Jake and Michael discuss music we're into at the moment, using Pennant for feature flags in Laravel, and the age old set of requirements: "it needs to do everything the old one did".

Maintainable Podcast: Stig Brautaset: Understanding Alien Artifacts in Legacy Code
In this episode of Maintainable, Robby chats with Stig Brautaset, Staff Software Engineer at CircleCI. Stig shares his insights on maintaining well-documented but complex legacy code, the impact of team dynamics on software maintenance, and his experiences with the SBJSON library.

Software Engineering Radio: SE Radio 618: Andreas Møller on No-Code Platforms
Andreas Møller, founder of Toddle, a no-code tool for building scalable performant web applications, speaks with SE Radio’s Brijesh Ammanath about no-code platforms.

Developer Tea: Managing Using Core Indicators of Team Outcomes
In this episode, we use the Start / Stop / Continue framework in a new way. As leaders, we should always know what outcome indicators a given discussion is based on. In this episode, we discuss the three core outcome indicators for managers to pay close attention to.

Shoptalk Show: Matt Visiwig on SVGBackgrounds
Matt Visiwig stops by to chat with us about his site,, a membership site for copy-and-paste website graphics built around SVG. We talk about why he built the site, how he decided to monetize it, competing with AI garbage on the web, pricing membership options, and how he's running the site.

WP Builds: 375 – Insights from Marcel Bootsman on static site hosting with Kinsta
Today we’re talking to Marcel Bootsman from Kinsta, discussing Kinsta’s static site hosting. We get into the benefits, technical nuances, and environmental sustainability of static site hosting, highlighting its potential to enhance WordPress website speed and efficiency.

Laravel Podcast: An Open-Source Panel, the Future of PHP, and Delegation in Business
In this episode of the Laravel podcast, Matt and Taylor explore a variety of topics, including ones suggested by listeners! Taylor shares insights from his recent trip to San Francisco, where he participated in an open-source discussion panel hosted by the venture capital firm, Accel.

Mostly Technical: 37: S-Tier Software with Taylor Otwell
Ian and Aaron are joined this week by Taylor Otwell, founder & CEO of Laravel, to discuss the Laravel vs. JS Twitter wars, new stuff coming down the road from Laravel, writing off Lambos (just kidding), and more.

Software Unscripted: Fuzz Testing with Brendan Hansknecht
Richard talks with Brendan Hansknecht, an AI compiler engineer at Modular, about various testing techniques, including fuzzing, property-based tests, database tests, tests involving network requests, and more!

Syntax: The Modern Dev CMS - Pocketbase
Pocketbase provides a full backend with database, authentication, file storage, and more in an easy to use interface.

The Changelog: Microsoft is all-in on AI: Part 2
Mark Russinovich, Eric Boyd & Neha Batra join us to discuss the state of AI for Microsoft and OpenAI at Microsoft Build 2024. It’s safe to say that Microsoft is all-in on AI.

Reading and Viewing

Laravel Advanced: Lesser-Known, Yet Useful Composer Commands
Composer also offers some commands that are lesser-known but helpful while working on your Laravel app.

minimal-mvc: Frugal PHP micro-framework with basic routing and templating
Today, I want to introduce you to minimal-mvc, an extremely tiny micro framework with just two core scripts viz. routing.php for handling the routing and util.php for working with templates containing few other generic utilities.

Architecture Testing in Laravel with Pest
Architecture testing allows you to automatically enforce code standards such as naming conventions, method usage, directory structure, and more.

Toggleable Laravel Routes with Attributes
In this article, we will explore how to use toggleable routes with attributes in Laravel.

Mastering Advanced Laravel Routing: Build Cleaner, More Scalable Applications
We’ll delve into these advanced features, transforming you from a routing novice to a master architect.

Develop Your First Web App with Lando — Beginner Guide
Lando is becoming a popular local development environment. It is a cross-platform, free, and open-source tool built upon Docker container technology. Let’s see how fast we can start with Lando.

Interesting Projects, Tools and Libraries

An extended variant of the Symfony PHP YAML library.

Access and modify JSON-based data objects while enforcing JSON Schema.

Represents request data in a structured and useful way.

Symfony GraphQl Bundle.

A Laravel package for sending and verifying OTPs (One-Time Passwords) using Twilio.

Real-time and historical exchange rates for 168 world currencies provided in JSON format and works for any programming environment.

This bundle integrates moneyphp/money into symfony.

Providing the official of Amazon Product Advertising API v5 SDK for PHP as composer package.

library for form antispam protection.

A simple library that allows you to define OpenAPI specifications via Data Transfer Objects.

Please help us by clicking to our sponsor:

  encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 15. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

Sponsor this newsletters

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  

Protect your PHP code with SourceGuardian 15. Free trial.

Copyright © 2024 PHP Weekly, All rights reserved.
Because you signed for it!
Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom


Older messages

PHPWeekly May 30th 2024

Monday, June 3, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 30th May 2024 Hi everyone, We've officially hit the mid-year

PHPWeekly May 23rd 2024

Thursday, May 23, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd May 2024 Hi everyone, It's a week of comebacks in this

PHPWeekly May 16th 2024

Friday, May 17, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 16th May 2024 Hi everyone, New PHP updates, news and guides

PHPWeekly May 9th 2024

Thursday, May 9, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th May 2024 Hi everyone, Stacked and packed is this week's

PHPWeekly May 2nd 2024

Thursday, May 2, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we

You Might Also Like

New USB-C Wired Earbuds for iPhone + More Amazon Tech Accessories

Saturday, June 15, 2024

Everyone on has cables and charging bricks to organize. These colorful, compact, durable ballistic nylon cases are well loved and keep all those necessary items organized. earbudi EARBUDi ENJOY A

Pakistani Hackers Use DISGOMOJI Malware in Indian Government Cyber Attacks

Saturday, June 15, 2024

THN Daily Updates Newsletter cover Machine Learning Techniques and Analytics for Cloud Security ($194.00 Value) FREE for a Limited Time This book covers new methods, surveys, case studies, and policy

📧 From Transaction Scripts to Domain Models: A Refactoring Journey

Saturday, June 15, 2024

​ From Transaction Scripts to Domain Models: A Refactoring Journey Read on: m​y website / Read time: 6 minutes BROUGHT TO YOU BY ​ Ultimate Solution for Developing Data-Related .NET Applications ​ ​

Why Choosing to Publish on HackerNoon First Matters 👀

Saturday, June 15, 2024

Discover What Sets HackerNoon Apart 🏃‍♂️ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏

Meta pauses AI training plan

Friday, June 14, 2024

Plus: Arc wants to help you make your meetings View this email online in your browser By Christine Hall Friday, June 14, 2024 Happy Friday and welcome to TechCrunch PM. We have a few stories to share

♟️ Here's Why Netflix and News Sites Now Offer Games — How to Watch the 2024 Summer Olympics

Friday, June 14, 2024

Also: Viture Pro XR Glasses Review, and More! How-To Geek Logo June 14, 2024 Did You Know Lucky Bamboo, a common office decoration frequently marketed as a Chinese good luck symbol, is neither bamboo

Weekly News Roundup - Issue #471

Friday, June 14, 2024

Plus: Elon Musk withdraws the lawsuit against OpenAI and Sam Altman; how nanopore sequencers were invented; a tooth-regrowing drug to be trialled in Japan; Mistral AI reaches $6B valuation; and more! ͏

Clash of the AI titans, and Europe is firing on all cylinders

Friday, June 14, 2024

Plus, Byju's circles the drain View this email online in your browser By Haje Jan Kamps Friday, June 14, 2024 Image Credits: Getty Images Welcome to Startups Weekly — Haje's weekly recap of

SWLW #603: The most dangerous phrase, The documentation tradeoff, and more.

Friday, June 14, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

🖌️ Download a Free Copy of Aiarty Image Enhancer, Worth $85

Friday, June 14, 2024

Easily Fix or Enhance Images With a Single Click, and More! How-To Geek Logo June 14, 2024 Rescue & Enhance Your Images with Aiarty—Get Your 1-Year License Free! Elevate your visuals with Aiarty