PHP Weekly - PHPWeekly November 28th 2024

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

Hi everyone,

It's Thanksgiving and Black Friday sales week, and we hope that those of you who are taking a break and going back home to see your loved ones find time to recharge and relax. This week we have articles about the recently released PHP 8.4 and breaking down the latest features available with this update. On Reading section we also have a comparison of PHP 8.4's property hooks vs Laravel's Eloquent mutators and when to use them. There's also an interesting article as to why PHP is often the target of exploits, how to anticipate them and learning about the loophopes. Finally in our Podcast section we have new episodes from the guys at No Compromises, and this week they chat about how programmers love creating specialised terms and vocabulary. North Meets South talks about Laracon AU, dynamic directories and and tenant file storage, while Syntax have a discussion on setting up and using cloudflare tunnels to securely expose local web servers with custom domains and access controls.  

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.



encrypt php scriptsSourceGuardian Black Friday Deal

Protect your PHP Code with this Black Friday offer from SourceGuardian. Click here to get this great offer

Articles


PHP 8.4 is released with Property Hooks, Class Instantiation without extra parenthesis, and more
The PHP team has released PHP 8.4 with new array find functions, property hooks, class instantiation without extra parenthesis, and more,

I finally tried Pest for PHP & Laravel, then made the switch
Since the very first day of Pest, I haven't cared about it because PHPUnit is enough for me and I feel lazy to learn this new test tool. But the more Laravel community grows, the more Pest is recommended.

Laravel Custom Query Builders Over Scopes
Alright, let's talk about Query Scopes. They're awesome, they make queries much easier to read, no doubt about it.

PHP 8.4: Breaking Down the Big Updates (With Examples)
In this blog, we’ll explore PHP 8.4’s most exciting features, provide examples to help you understand how to use them, and highlight performance improvements.

What’s New in WordPress 6.7: Key Features and Updates for Developers
WordPress 6.7 is here with awesome new features that make life easier for developers and users alike! Here’s what’s new.

Top 13 Magento 2 core performance issues
Here are the significant reasons why Magento 2 has poor performance, slow performance, and architectural issues. Adobe is trying to hide this from the merchant.

Tutorials and Talks


Dynamic Mailer Configuration in Laravel with Mail::build
Need to configure mailers dynamically? Laravel's Mail::build method lets you create mailers on the fly! Let's explore this flexible approach to email configuration.

How to Use Vultr Object Storage with Laravel (S3-Compatible)
In this tutorial I assume that you have already prepared your Laravel project environment and have begginer/intermediate knowledge in PHP/Laravel.

Another Way to Structure your Symfony Project
The MVC + Services architecture is so common in Symfony projects that it feels like the only way. It’s simple, familiar, and works... until it doesn’t.

Efficiently Rendering Base64 Images in Laravel PDFs with DomPDF
When generating PDFs in Laravel using DomPDF, handling images can be tricky. One common challenge is memory consumption, especially when dealing with multiple images in a single PDF.

How to Set Up a PHP Development Environment in VS Code with Docker Desktop A Step-by-Step Guide
Here’s a detailed, hands-on guide for setting up a PHP Project in VS Code using Docker Desktop with a comprehensive table of contents.

Structuring a Laravel Project with the Repository Pattern and Services
This article explores these concepts with practical examples to help you build a clean, testable, and maintainable Laravel project.

Safe Database Migration: Converting MySQL Enum to String in Laravel
Today, I'll walk you through a bulletproof approach to handling this transformation using Laravel migrations.

Build Your Own ORM in PHP 8.2: A Simple Guide
Popular ORMs like Eloquent and Doctrine exist, but creating your own is a great way to understand how ORMs work and to create a lightweight solution for your specific needs.

Composer Command #CheatSheet & Top 20 Most Popular Packages
In this guide, you’ll find a handy cheat sheet of essential Composer commands and a curated list of the top 20 Composer packages every PHP developer should know.

Symfony Through a Fan’s Eyes: A Simple Guide
So, let’s explain Symfony clearly and highlight its strengths without overwhelming them or making it seem complicated.

Building a Robust Backup and Restore System in Laravel
Here, we’ll explore the importance of having a backup and restore system, learn from a notable incident, and explain how we implemented a robust solution in a Laravel application.

News and Announcements


Asymmetric Property Visibility in PHP 8.4
PHP 8.4 is scheduled to be released tomorrow, and one exciting feature we haven't covered yet is Asymmetric Property Visibility.

Laravel Black Friday Deals
It’s that time of year again. You can save massive amounts of money on everything from training courses to complete Laravel applications.

PHP 8.4.1 Released!
The PHP development team announces the immediate availability of PHP 8.4.1. This release marks the latest minor release of the PHP language.

PHP 8.1.31 & PHP 8.3.14 Released!
The PHP development team announces the immediate availability of PHP 8.1.31. This is a security release. All PHP 8.1 users are encouraged to upgrade to this version.

A Week of Symfony #934 (18-24 November 2024)
This week, Symfony development activity focused on polishing the upcoming Symfony 7.2 release (scheduled for next week) and fixing some bugs in the 5.4 branch (which will reach the end of its bug-fix maintenance period next week as well). Additionally, we continued publishing blog posts about the new features of Symfony 7.2.

PHP Core Roundup #20: PHP 8.4 is Released!
We are thrilled to announce that after a year of hard work, dedication, and collaboration, PHP 8.4 is officially here! Thanks to the tireless efforts of the PHP Foundation members, the core PHP development team, and an incredible community of contributors, this upcoming version brings major new features and syntax, performance and security enhancements, and a healthy amount of deprecations.

Podcasts and Vlogs


The Stack Overflow: The app that fights for your data privacy rights
Ben and Ryan sit down with public interest technologist Sukhi Gulati Gilbert, a senior product manager at Consumer Reports, for a conversation about digital data privacy.

No Compromises Podcast: Taking liberties with value objects
Programmers love geeking out and creating specialized terms and vocabulary. Well I can do that too. In today's episode, we talk about "value objects", put our own special definition on it, and discuss when we might use these in a Laravel project.

North Meets South Podcast: Laracon AU retro, coffee machines, and dynamic directories
Join Michael and Jake as they dive into Laracon AU highlights, reveal new coffee adventures, and discuss dynamic directories and tenant file storage.

Maintainable Podcast: Tom Johnson: From Auto-Documentation to Better Collaboration
In this episode of Maintainable, Robby speaks with Tom Johnson, Co-Founder and CEO of Multiplayer. Tom shares his perspectives on the evolving landscape of distributed systems, the challenges of maintaining legacy software, and how innovative tools are transforming the way teams collaborate.

Software Engineering Radio: SE Radio 643: Ganesh Datta on Production Readiness
Ganesh Datta, co-founder of Cortex.io, joins host Robert Blumen for a conversation about production readiness.

Developer Tea: Coaching Yourself: Career Coaching Personas for Everyday Engineers, Part Three - Shoulder Socrates
In today's episode we discuss the concept of adopting self-coaching personas, and discuss the third persona, "Shoulder Socrates."

Shoptalk Show: Social Capital, Easter Eggs in Apps, & CSS Parts
How do you like your turkey at Thanksgiving, building social capital with the neighbors, a brief SportsTalk Show segment, noticing easter eggs in apps and the web, what is a component anyway, CSS parts follow up, and questions about Alpine.JS and ESLint.

WP Builds: 399 – Joost de Valk talks about Progress Planner, their new website productivity tool
Joining us is Joost de Valk, the mastermind behind the immensely popular Yoast SEO plugin. But today, Joost is here to share his latest project, Progress Planner – a tool designed to revolutionise the way we maintain and update our websites.

PHP Architect: 2024.11.21
This week on the php podcast, Eric and John discuss PHP 8.4 and its new features, Pie, PHPStorm, PHPTek, Yazi for file management in the terminal, and more.

Mostly Technical: 60: The To-Done List
Ian and Aaron discuss feedback on ads for the podcast, what the heck Ian does every day, updates on the Try Hard empire, & so much more.

Over Engineered: Event Sourcery w/ Shawn McCool
Shawn McCool has been talking about event sourcing for years, and recently started a new series of streams on the topic.

Syntax: Cloudflare Tunnels
Discussion on setting up and using Cloudflare tunnels to securely expose local web servers and home media servers over the internet with custom domains and access controls.

The Changelog: Busting the ghost engineers (0.1x-ers)
Ben Affleck’s take on AI replacing actors, Stanford researcher (Yegor Denisov-Blanch) busts the ghost engineers, Electrobun takes a crack at Electron apps.

Reading and Viewing


PHP: Practical ways to escape from the hell of Dates
Critical features for businesses often rely on dates, such as subscriptions, recurrent payments, or bookings.

Why Using POST for Updates Is Safer Than Hyperlinks
When updating a record in PHP, the choice between using Perform Actions (typically via forms and HTTP methods like POST or PUT) versus Hyperlinks (which generally use the GET method) boils down to security and best practices.

Using Symfony’s HeaderBag as a Service: A Debugging Superpower in API Contexts
In this article, I’ll show you how Symfony’s HeaderBag, when registered as a service, can be a powerful tool for debugging APIs in production.

Why You Should Consider Upgrading to PHP 8.4?
In this article, we’ll explore the key reasons why you might want to upgrade your PHP projects to version 8.4.

PHP 8.4 Property Hooks vs Laravel Eloquent Mutators
In this article, we’ll explore both concepts, compare their implementations, and discuss when to use each approach.

Laravel Website’s Settings Made Simple: How to Save and Handle Them Efficiently
This article will explore a practical guide to saving and managing settings in a Laravel project.

Why PHP Is Often the Target of Exploits: Understanding the Loopholes and How to Anticipate Them
Despite its popularity, PHP is also one of the most commonly exploited programming languages. But is PHP inherently insecure, or are there other reasons behind its frequent targeting by attackers?

Interesting Projects, Tools and Libraries


php-extended/php-score-object
A library that implements the php-score-interface package.

glw/api-client
A Composer library for handling API requests using cURL.

lloricode/filament-spatie-laravel-permission-plugin
This is my package filament-spatie-laravel-permission-plugin.

softark/yii2-dual-listbox
Bootstrap Dual Listbox Widget for Yii 2.

kuborgh/csv-bundle
Converting an array to CSV and vice versa.

php-xapi/json-test-fixtures
common JSON test fixtures for Experience API related packages.

kornrunner/hsphp
Client library for MySQL HandlerSocket extension.

westacks/filament-monaco-editor
Monaco Editor integration for Filament Panels & Forms.

lostfocus/picofeed
Modern library to handle RSS/Atom feeds.

baspa/buienradar-php-api
PHP package to provide fluent syntax for the Buienradar API.

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 scriptsSourceGuardian Black Friday Deal

Protect your PHP Code with this Black Friday offer from SourceGuardian. Click here to get this great offer



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 November 21st 2024

Thursday, November 21, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 21st November 2024 Hi everyone, PHP 8.4 id due for a release today,

PHPWeekly November 14th 2024

Friday, November 15, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 14th November 2024 Hi everyone, We're one week before the

PHPWeekly November 7th 2024

Thursday, November 7, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 7th November 2024 Hi everyone, We're less than two weeks from

PHPWeekly October 31st 2024

Thursday, October 31, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 31st October 2024 Hi everyone, This week's newsletter falls on

PHPWeekly October 24th 2024

Thursday, October 24, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 24th October 2024 Hi everyone, It's another stacked issue of

You Might Also Like

Python Weekly - Issue 678

Thursday, November 28, 2024

View this email in your browser Python Weekly Welcome to issue 678 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Let's build a AI Photo Generator

Web Tools #593 - Frameworks, React Tools, Uncats

Thursday, November 28, 2024

WEB VERSION Issue #593 • November 28, 2024 Advertisement Power Your Web Projects with Cloudways This BFCM As a developer, designer, or tech professional, you need reliable hosting that adapts to your

Python Weekly - Issue 678

Thursday, November 28, 2024

View this email in your browser Python Weekly Welcome to issue 678 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Let's build a AI Photo Generator

Introducing the Revamped HackerNoon AI Image Gallery

Thursday, November 28, 2024

Top Tech Content sent at Noon! Advertise on this Newsletter! 50% off!! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 28, 2024? The

Black Friday Giveaway @ Real Python

Thursday, November 28, 2024

Hey there, Just wanted to let you know that we're doing a special giveaway for Black Friday this week at Real Python 🎁🎉 You can get Python education resources worth over $1210, including three

Dispatch 019 🦃

Thursday, November 28, 2024

Watching the Parade • Paying for the Parade • Pirate TV Raid • US v. Microsoft Round 2 • Trump's Anti-Antitrust? • Google Anti-Antitrust The Spyglass Dispatch is a free newsletter sent out daily on

Widgets With Glance: Beyond String States

Thursday, November 28, 2024

View in browser 🔖 Articles Widgets With Glance: Beyond String States I had read about using a CustomGlanceStateDefinition but I couldn't find much about it in the official documentation so here is

Post from Syncfusion Blogs on 11/28/2024

Thursday, November 28, 2024

New blogs from Syncfusion All Things Open 2024 Takeaways, Part 3: Freedom vs. Sustainability By Marissa Keller Outten The role of sustainability and freedom in open source was discussed at the All

Top Tech 🏆 HTC VIVE Focus Vision Review — These Clip-on Earbuds Are Simple and Sound Good

Thursday, November 28, 2024

Also: Plugable Portable Monitor Review, and More! How-To Geek Logo November 28, 2024 😎 Question Reality If you're wondering what to buy on Black Friday or during the holiday rush, this week we