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!

February 6, 2025

Hi everyone,

It's the first issue of the month and this week we have news from the recently concluded Laracon EU. Laravel 12's release date has been announced and will be available by the last week of February along with Laravel Cloud. We also have the latest PHP Annotated for the month of January and the latest Symfony 7.2.3 release. In Podcasts we have new episodes from No Compromises and this week they talk about using concise videos instead of long emails with screenshots. PHP Architects topics this week include Github Skylines, PHP Tek and more. Finally in our Reading section we have articles on Laravel injection, Mastering Eloquent ORM, and handling role based access.   

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

New Laravel Starter Kits are Coming Soon
During Taylor Otwell's talk at Laracon EU, he announced the release of Laravel 12 and brand new starter kits for Inertia and Livewire.

Buffer Overflow in Laravel: Causes, Prevention & Fixes
Buffer Overflow is a critical vulnerability that can lead to severe security risks in Laravel applications. Attackers exploit this flaw to overwrite memory, execute arbitrary code, and potentially take control of a system.

Laravel Models Demystified: Simplifying Database Operations
In this architecture, the 'M' stands for 'Model' which is what we are focused on in this articles, a crucial element responsible for managing data interactions between your application and the database. 

Avoid This Laravel Enum Trap: Learn How to Fix It Before It Breaks Your Project!
Laravel allows developers to use type casting with enums to ensure these values are strictly typed when retrieved from the database, making the code cleaner and reducing potential bugs. 

The Importance of Reverse Proxies: Enhancing Security, Scalability, and Deployment Flexibility
In this article, we'll explore the benefits of using reverse proxies, including enhanced security, improved scalability, and zero downtime deployment capabilities.

Laravel Chunk() vs Cursor()
In this blog post, we’ll dive deep into both methods, compare their use cases, and help you decide which one fits your needs.

Tutorials and Talks

Handling Missing Request Data in Laravel
Laravel provides elegant methods for managing absent request data through missing() and whenMissing(). These methods simplify the process of handling optional fields and setting default values, making your code more expressive and maintainable.

Request Handling with PHP Enums in Laravel
Laravel enhances its request handling capabilities with direct enum support, enabling type-safe processing of enumerated values from incoming requests. This feature simplifies input validation and ensures data consistency when working with predefined sets of values.

Streamlining String Manipulation with Laravel's string() Method
Laravel's request->string() method transforms input into Stringable instances, providing fluent string manipulation capabilities through method chaining.

Understanding Laravel Queues: queue:work vs queue:listen and Why queue:restart Matters
Many developers aren't fully aware of how Laravel's queue system works, especially when using Supervisor. So in this post, let's break it down step by step.

Efficient JSON Error Handling in Laravel
In this article, I’ll share a structured approach to JSON-based error handling using a trait and service, along with configuring global exception handling.

OTP Verification of Phone Number using Sparrow SMS API in Laravel
This blog will guide you through the process of adding phone number fields to a users table, generating OTPs, and verifying phone numbers using the Sparrow SMS API in Laravel.

Creating a Magento 2 extension to automate product description
You may dream of dazzling product launches and skyrocketing revenue, but often you’re stuck manually writing product descriptions, filling in fields on Magento, and drinking one too many cups of matte.

News and Announcements

PHP Annotated – January 2025
Welcome to the January edition of PHP Annotated! This recap is carefully handcrafted and brings you the most interesting developments in the PHP community over the past couple of months, so you don’t have to sift through the noise, we’ve done it for you.

Laravel Live UK
Laravel Live UK has announced the details for this year's conference. Join over 300 Laravel and PHP enthusiasts for inspirational talks, engaging networking and amazing learning opportunities at Laravel Live UK.

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

Laravel 12 release date
Today at Laracon EU, Taylor announced that Laravel 12 will be launched on February 24th, 2025. This is also the first major version that will have zero-breaking changes. Some of the things you can look forward to with the release include.

A Week of Symfony #944 (27 January - 2 February 2025)
This week, Symfony released maintenance versions 6.4.18, 7.1.11 and 7.2.3. In addition, Twig published a security advisory and we shared several updates about upcoming Symfony conferences. Lastly, Symfony announced improved support for Mastodon and BlueSky social networks.

Laravel Cloud will launch February 24th, 2025
Last year at Laracon US, Taylor announced Laravel Cloud, and he just did a brand new demo live on stage at Laracon EU.

Podcasts and Vlogs

Laravel News Podcast: Using factories, managing metadata, and pecking PHP
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Feature flags: Theory meets reality 
Ryan is joined by Fynn Glover (CEO) and Ben Papillon (CTO), cofounders of Schematic, for a conversation about managing feature flags in software development. They explore theoretical and practical applications of feature flags, the issue of tech debt, and how orgs could manage entitlements and pricing models more effectively.

No Compromises Podcast: Making short demo videos count
Joel and Aaron explore the value of using concise video demos instead of long emails or scattered screenshots. They discuss which clients benefit from quick visuals and when text is still best.

Software Engineering Radio: SE Radio 653: Asanka Abeysinghe on Cell-Based Architecture
Asanka Abeysinghe, CTO at WSO2, joins host Giovanni Asproni to discuss cell-based architecture — a style that’s intended to combine application, deployment, and team architecture to help organizations respond quickly to changes in the business environment, customer requirements, or enterprise strategy. 

Shoptalk Show: Layout in CSS, Balatro Q&A, Chrome Biz, & Forkin VS Code
Does layout make CSS difficult to learn from scratch, Chris quizzes Dave about Balatro, getting back into Pokemon, why should Google have to sell Chrome, adding fun features to apps you already have to keep you using them like Raycast, and thoughts on the VS Code forks + AI.

WP Builds: 407 – “At The Core” with Birgit Pauli-Haack and Anne McCarthy – Episode 2 
In this episode of WP Builds, I discuss recent developments in WordPress with guests Birgit Pauli-Haack and Anne McCarthy. 

PHP Architect: The PHP Podcast 2025.01.09: Knock It Out of the PHPark 
This week on the PHP Podcast, Eric and John talk about Github Skylines, ElePHPants, PHP Tek and more.

Syntax: Standard Schema: The Universal JavaScript Data Interface
Discussion of the new standard schema effort to standardize data validation across JavaScript validation libraries like Zod, ValleyBot and Arctype.

The Changelog: Everyone knows your location
Tim Sh tracked himself down through in-app ads, Sniffnet comfortably monitors your Internet traffic, Cate Huston opines on what makes a good team, Victor Shepelev draws on 25 years of coding to share seven things he now knows & Grant Slatton tells you how to write a good design document.

Reading and Viewing

The State Pattern in Laravel: Like a Magician for Your App’s Logic
Let’s talk about something magical that can make your Laravel projects cleaner, easier to understand, and a lot more fun to work with the state pattern. 

Mastering Eloquent ORM: A Beginner's Guide to Laravel's Magic
What's up folks! This is the third article from the Laravel beginner series! Let's get straight to it!

Command Injection in Laravel: How to Detect & Prevent It
In this blog, we will explore command injection, demonstrate coding examples, and show how to secure Laravel applications against such attacks.

Laravel Policies and Gates: Handling Role-Based Access
Alright, so you’re building a Laravel app and need to handle role-based access control (RBAC). You’ve probably come across Laravel’s built-in Policies and Gates, but then there's also Spatie Permissions. Which one should you go for? Let's explore our options.

When PHP Might Be the Faster Choice for Developers
Let us explore a particular scenario in which PHP may prove to be the more advantageous choice for developers.

Exploring Laravel’s Powerful Features and Functionalities
This article delves into Laravel’s powerful features and functionalities, explaining why it is a preferred choice for modern web development.

Be Aware: This Could Affect Your Page Speed In Laravel
Can that one small addition have such a big impact on your page response time? Yes, It can. And that’s why I’m writing this to give you a heads-up so you can avoid getting blindsided by this.

Interesting Projects, Tools and Libraries

andreas-weber/php-runner
Library to simplify the implementation of sophisticated interdependent tasks.

obtao/symfony-rest-api-framework
A Rest API distribution of the Symfony framework.

panique/huge
A full-feature user authentication / login system embedded into a simple but powerful MVC framework structure.

mouf/silex-middleware
This package provides a StackPHP middleware that can be used to plug a Silex application.

emanueleminotto/twig-cache-bundle
Symfony 2 Bundle for twigphp/twig-cache-extension.

romeoz/rock-events
A simple implementation of Pub/Sub for PHP.

haddowg/tfilecache
Taggable File Cache driver for Laravel. Allows the use of Cache tags with a file cache.

webfox/laravel-backed-enums
Supercharge your PHP8 backed enums with superpowers like localization support and fluent comparison methods.

suin/php-expose
Makes non-public properties and methods be testable to help your unit tests with PHPUnit.

fingent/module-mastercard
Official Magento2 Plugin to integrate with MasterCard Payments by Fingent.

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.

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