PHP Weekly - January 9th 2025

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

Hi everyone,

It's back to the regular grind and most sites are back with new content, and as always we're here to gather and bring them to you. This week we have recaps from Laravel News, as well as a rundown of highlights on the Symfony project from the previous year. In Podcasts we have new episodes from No Compromises on the topic of when to venture beyond Eloquent in Laravel. Developer Tea is celebrating ten years of its podcast, while PHP Architect discuss PHP Tek 2025. PHP RFCs and more. Finally in our Reading section we have a rundown of the best PHP, Laravel and Symfony conferences to participate in this year. We also have blog post on Understanding the Laravel Request Lifecycle, as well ad Mastering PHP Reflection.  

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 articles@phpweekly.com.

All the best,
Adrian


Please help us by clicking to our sponsors:

Sponsor Logo

Get 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.


Articles


Laravel News 2024 Recap
I've hand-picked some of the biggest stories at Laravel News in 2024. This year was massive, with our new Laravel Creator Spotlight series and huge announcements from Laravel like Laravel Cloud, Inertia.js 2.0, an official Laravel VS Code extension, and more!

Weak Password Policies in Laravel: A Security Guide
This blog delves into the risks posed by poor password policies in Laravel applications and demonstrates how to enforce stronger security measures.

Unlock Laravel Code Generation (Part 3): Automating Validation from Your Database Schema
In previous posts, we’ve explored using Laravel stubs to streamline code generation. In this installment, we’ll zoom in on a specific example: automatically creating validation rules for your models by extracting metadata from your database schema.

PSR-1: Basic Coding Standard in PHP
Ever wondered why some PHP codebases are a joy to work with while others feel like a maze? A lot of it comes down to following consistent coding standards. 

Building a PSR-11 Compatible Dependency Injection Container with PHP 8.4 Lazy Objects
In the realm of modern PHP, the release of version 8.4 introduced a groundbreaking feature: Lazy Objects. These objects enable a new way to defer initialization until absolutely necessary, boosting performance and reducing resource usage. 

Tutorials and Talks


Early View Data Preparation with Laravel View Creators
Laravel's View Creators allow you to prepare data immediately after view instantiation, earlier than View Composers, making them perfect for setting up essential view data or optimizing performance.

Managing Proxy Trust in Laravel Applications
When deploying Laravel applications behind load balancers or reverse proxies, proper configuration of the TrustProxies middleware ensures correct handling of client information and HTTPS detection.

How to Completely Disable WordPress Admin Notices
Today, I'll show you a practical solution to remove all WordPress admin notices permanently while following best practices.

How to Optimize Large JSON Files for Use with ChatGPT API?
I am trying to use ChatGPT as the chatbot for my Magento 2 website, and I want to pass product data to it. To do this, I collected all the products and stored them in a JSON file, which I then read to embed the data in the systemRoleContent of the system role. However, the issue I am facing is that the JSON file is quite large.

How to Build a Generic CRUD Controller in Laravel for Multiple Resources
In this post, I'll guide you on creating a generic CRUD controller that allows you to handle existing and future CRUD operations in a single controller.

PHP for Beginners: Building Your First Database-Driven Web App
In this tutorial, we’ll build a simple To-Do List App using PHP and MySQL. By the end, you’ll have a working application where users can add, view, and delete tasks.

Mastering Laravel Authentication with Passport: A Step-by-Step Guide
This guide walks you through the entire process of setting up Laravel Passport, from installation to securing and testing your API.

How to Test for Equal JSON Columns in Laravel Models
This article will guide you on effectively comparing JSON columns in your Laravel application's tests.

Secure and Scalable Encoding Made Easy with Laravel Encoder: A Complete Tutorial
This tutorial will walk you through everything you need to know about the Laravel Encoder, from installation and basic usage to advanced configurations and Laravel integration.

News and Announcements


New Eloquent Relation Existence Methods in Laravel 11.37
Last week the Laravel team released v11.37, which includes new Eloquent relation methods, an option to ignore case with Str::is(), adding the Dumpable trait to a Uri instance, and more.

Using AI to Manage Translations in Laravel
The Laravel community offers a growing number of packages that use AI models like OpenAI's GPT and Anthropic's Claude to simplify and enhance application localization.

Symfony 2024 Year in Review
This blog post highlights the key accomplishments of the Symfony project in 2024. We are grateful for your continuous support, which enabled the Symfony project to achieve a remarkable year.

A Week of Symfony #940 (30 December 2024 - 5 January 2025)
This week, Symfony 6.4.17, 7.1.10 and 7.2.2 maintenance versions were released. In addition, we published more information about the upcoming SymfonyOnline January 2025 conference.

Symfony 7.2.2 released
Symfony 7.2.2 has just been released. Here is the list of the most important changes since 7.2.1.

phpday 2025 - Call For Papers
The call for papers is open until January 11, 2025 23:59. Propose a talk! Take the chance to share your experience, test yourself on topics you know well and learn something new while preparing your presentation. You will also make yourself known in the community.

Podcasts and Vlogs


The Stack Overflow: How AI apps are like Google Search 
Happy New Year! In this episode, Ryan talks with Jetify founder and CEO Daniel Loreto, a former engineering lead at Google and Twitter, about what AI applications have in common with Google Search. 

No Compromises Podcast: When to step outside of Eloquent's comfort zone
Joel and Aaron explore the nuances of when to venture beyond Eloquent in Laravel applications. They discuss specific scenarios where using lower-level database tools might be necessary, while emphasizing the importance of not abandoning Eloquent entirely. 

Software Engineering Radio: SE Radio 649: Lukas Gentele on Kubernetes vClusters
Lukas Gentele, CEO of Loft Labs, joins host Robert Blumen for a discussion of kubernetes vclusters (virtual clusters). A vcluster is a kubernetes cluster that runs kubernetes application on a host kubernetes cluster. 

Developer Tea: Ten Years of Developer Tea
Today, we celebrate 10 years of Developer Tea. I wouldn't be doing this podcast without you listening. Especially if you have been listening for many years, thank you!

PHP Architect: PHP Podcast 2025.01.02 
This week on the PHP Podcast, Eric and John talk about PHP Tek 2025, PHP RFCs, TweakPHP, Ghostty, PsySH, new Git Commands, Lando, SearXNG, and more…

Frontmatter Podcast: Joe Justice, Author of Scrum Master
Joe shares his inspiring journey from growing up in South Bend, Indiana, to becoming a global leader in Agile methodologies, modular manufacturing, and business innovation.

Syntax: CSS Performance × Rate Limiting × Array Sort Behavior - STUMP'd
Scott and Wes play a game of Stump'd, asking each other advanced web development questions on topics like JavaScript, CSS, Node.js and TypeScript.

The Changelog: 10 big predictions for 2025
M.G. Siegler goes way out on a limb with some BIG predictions of things that could happen this year, Simon Willison’s year-end roundup is a must-read and perhaps the only thing you have to read to get up-to-speed on the state of the LLM.

Reading and Viewing


Best PHP, Laravel, and Symfony conferences to attend in 2025
Here’s a list of essential developer conferences 2025 focused on PHP and its key frameworks, including Laravel and Symfony. These events are ideal for staying updated, improving your skills, and connecting with the PHP community.

Understanding the Laravel Request Lifecycle (Laravel 11)
In this blog post, we will look through step-by-step request lifecycle in Laravel, as seen in the diagram below, and explain how each component contributes to the process.

Laravel's 2024: Progress at Lightning Speed, But Are We Biting Off More Than We Can Chew?
From groundbreaking releases to exciting new tools, the Laravel team, led by Taylor Otwell, has been unstoppable. But as the saying goes, “With great power comes great responsibility.” With so much rapid progress, I can’t help but wonder: Are we biting off more than we can chew?

Mastering PHP Reflection: A Comprehensive Guide for Developers in 2025
This comprehensive guide will demystify PHP reflection, providing insights, practical examples, and real-world applications that will elevate your programming skills.

Building Multi-Container Applications: PHP, MariaDB and Nginx Reverse Proxy Architecture
Before diving into our practical example, let’s understand Docker’s core components and how they work together in a production environment.

Understanding the Difference Between Web and API Routes in Laravel
In this post, let’s dive into an explanation of routing.

Unsafe Deserialization in PHP: How to Create Your Own Exploit
To understand how object injections work in PHP, it’s important to understand the mechanisms of serialization and deserialization.

Interesting Projects, Tools and Libraries


in2code/in2faq
Simple FAQ extension with a cli command to import faq from extension irfaq.

go-comune/comune-php-apple-signin
A simple library to decode and parse Apple Sign In client tokens.

symfony/amazon-sqs-messenger
Symfony Amazon SQS extension Messenger Bridge.

cmosguy/laravel-http-pushstream-broadcaster
Laravel broadcast driver for the HTTP Push-stream Nginx module.

yiidoc/yii2-upload-behavior
Yii2 Upload File Behavior.

usamamuneerchaudhary/laravel-tagify
An Eloquent Tagging package for Laravel 10.

vortechron/iseed
Generate a new Laravel database seed file based on data from the existing database table.

yeftaaw/rialto
Manage Node resources from PHP.

emanueleminotto/humanizer-bundle
Symfony Bundle for coduo/php-humanizer.

mlocati/ip-lib
Handle IPv4, IPv6 addresses and ranges.

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 articles@phpweekly.com

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 © 2025 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

January 2nd 2025

Friday, January 3, 2025

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 3rd January 2025 Hi everyone, It's the first newsletter for the

December 26th 2024

Thursday, December 26, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th December 2024 Hi everyone, It's boxing day in some parts

December 19th 2024

Friday, December 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 20th December 2024 Hi everyone, The holiday season is upon us, and

PHPWeekly December 12th 2024

Thursday, December 19, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th December 2024 Hi everyone, Wherever you are in the world, we

PHPWeekly December 5th 2024

Tuesday, December 10, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 5th December 2024 Hi everyone, It's the first newsletter for

You Might Also Like

💻 Issue 451 - The best way to iterate over a large array without blocking the main thread

Thursday, January 9, 2025

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular JavaScript news, articles

📱 Issue 445 - 🚀 Your Go-To List of 25 Swift Tools and Libraries for Any Project

Thursday, January 9, 2025

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 445 Release Date Jan 09, 2025 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 369 - 17 Tips from a Senior React Developer

Thursday, January 9, 2025

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 369 Release Date Jan 09, 2025 Your weekly report of the most popular React news, articles and projects

💻 Issue 451 - Mastering Express.js: A Deep Dive

Thursday, January 9, 2025

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular Node.js news, articles and

📱 Issue 448 - The Swift Runtime: Your Silent Partner

Thursday, January 9, 2025

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 448 Release Date Jan 09, 2025 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 446 - Great things about Rust that aren't just performance

Thursday, January 9, 2025

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 446 Release Date Jan 09, 2025 Your weekly report of the most popular Rust news, articles and projects

JSK Daily for Jan 9, 2025

Thursday, January 9, 2025

JSK Daily for Jan 9, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Advanced Query Building Techniques in Angular: Queries with Different Connectors The Query

📲 Make Your iPhone Action Button Do Different Things in Each App — How Web Apps Make Switching to Linux Easier

Thursday, January 9, 2025

Also: You'll Love This Microsoft Word Repeating Trick, and More! How-To Geek Logo January 9, 2025 Did You Know Despite the tight association between sweet tea and the American South, sweet tea was

This Week in Rust #581

Thursday, January 9, 2025

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 581 — 08 JAN 2025 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

Daily Coding Problem: Problem #1663 [Hard]

Thursday, January 9, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Apple. Given a linked list, uniformly shuffle the nodes. What if we want to prioritize