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!

November 28, 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 [email protected].

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
[email protected]

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

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