Hi everyone,
It's another week of PHP news, updates and resources. This week we have articles on Advanced Laravel concepts, a curated list of php libraries, and using encapsulation to optimise your code for reading. In tutorials we have guide for managing laravel request validation, PHP PSR standards, and redirecting controller functions in Laravel. Finally in Podcasts we have new episodes from Laravel News and this week they do a recap of 2024. Syntax discusses Zero sync and how it's the future of data loading, while Maintainable talks about the importance of changeability as a core characteristic of well-maintained software.
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:
|
Articles
Overloading methods with types in PHP 8.0 and above. The way it should be
Since PHP 7.4 we have types and I have feeling I was programming in languages like Java or C# which is really nice but then I noticed I can’t overload my methods way I used to in other projects with typed languages.
Things I like about encapsulation: levels of understanding
Sometimes it is said that programming is more about reading code than it is about writing code. And that reading is harder than writing. If we consider these true, it makes sense to put some effort on optimizing our code for reading. Encapsulation is a very useful tool for that.
Advanced Laravel Concepts: A Developer Guide for Senior Roles
This article serves as a comprehensive guide for senior developers looking to deepen their understanding of advanced Laravel concepts.
10 PHP Functions That Will Speed Up Your Coding Efficiency
Here’s a list of 10 PHP functions that can significantly speed up your coding process.
12 Must-Know Libraries to Supercharge Your PHP Development in 2025
This curated list brings you the most powerful and relevant PHP libraries shaping this year’s development landscape.
|
Tutorials and Talks
Generating Sequential Laravel Collections
When you need to create a collection with a specific number of calculated elements, Laravel's times method provides an elegant solution.
Redirecting to Controller Actions in Laravel
When building web applications, redirecting users between different parts of your application is a common requirement.
How to Effectively Manage Laravel Request Validation?
In this detailed guide, I am explaining the whole step-by-step process to handle Laravel request validation that you can follow to ease your web development projects.
How to Load More data using ajax pagination on scroll in laravel 11 Example
In this post, I will show you step by step How to Load More data using ajax pagination on scroll in laravel 11 application.
Building a PHP CRUD Application with OOP and MySQL: A Best Practice Guide
In this blog, we’ll go through building a PHP CRUD application with OOP and MySQL. We’ll organize the code using best practices and design patterns that are beginner-friendly yet robust enough for larger projects.
How to Fix the "PHP Not Found" Error on macOS After Installing XAMPP
This article walks you through how to resolve this issue step by step and ensure your system knows where to find PHP.
Download Files Easily with Laravel’s HTTP sink Method
Need to download files with HTTP requests? Laravel’s sink method provides a clean way to save HTTP responses directly to files with minimal code.
Mastering PHP PSR Standards: The Ultimate Guide for Beginners (2025)
Are you struggling to write clean, maintainable PHP code? Do you find yourself confused when collaborating on PHP projects? You’re not alone. In this comprehensive guide, I’ll walk you through PHP PSR Standards — the industry’s best practices that will transform your coding journey. |
News and Announcements
CakePHP 4.5.9 RELEASED
Improvements: Requests now read the uri from REQUEST_URI instead of PATH_INFO. Fix ORM queries not being able to set read role.
Drupal 7 has reached end of life | PSA-2025-01-06
Drupal core version 7 has reached end of life, 14 years after it's original release, and is no longer community supported on Drupal.org. This means that new releases of Drupal 7 core and contributed projects will no longer happen on Drupal.org and official community support is no longer provided.
A Week of Symfony #941 (6-12 January 2025)
This week, Symfony development activity was very intense. The upcoming Symfony 7.3 version added a Slug constraint, introduced support for union types in OptionsResolver, enabled using HTTP/3 with the CurlHttpClient, and added support for invokable commands and input attributes. In addition, we published a summary of the Symfony project activity in 2024.
ConFoo 2025 - February 26-28, 2025, Montreal, Canada
ConFoo is back for its 23rd edition, at Hotel Bonaventure in Montreal, with a full stack of incredible talks with the best speakers in tech.
phpday 2025
Now in its 22nd year, phpday has been held continuously since 2003. The 2025 edition will be hosted in Verona on May 15-16.
|
Podcasts and Vlogs
Laravel News Podcast: 2024 Holiday Recap
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: “Data is the key”: Twilio’s Head of R&D on the need for good data
In this episode, Ben and Ryan sit down with Inbal Shani, Chief Product Officer and Head of R&D at Twilio.
Maintainable Podcast: Joel Hawksley: The Hidden Costs of Frontend Complexity
The importance of changeability as a core characteristic of well-maintained software. How GitHub has approached accessibility as a business and legal imperative. The evolution of GitHub’s frontend system, spanning over 2,000 pages, and the concept of "frontend vintages."
Software Engineering Radio: SE Radio 650: Robert Seacord on What’s New in the C Programming Language
Robert Seacord, the Standardization Lead at Woven by Toyota, the convenor of the C standards committee, and author of The CERT® C Coding Standard, Effective C, and Secure Coding in C and C++, speaks with SE Radio host Gavin Henry about What’s New in the C Programming Language.
Shoptalk Show: Slash Pages vs Wikis vs Posts, RSS, Living with an ADHD Diagnosis, and M4 Upgrades
In this episode, we kick off the New Year with chats about battling illness over the holidays, the challenges of maintaining productivity, the differences between slash pages, wikis, and blog posts.
WP Builds: 404 – Alan Fuller is not found! Actually he is, and he’s been learning to develop blocks
Today’s episode cannot be found. It’s 404! This is my sad attempt at humour, and it’s about as funny as I get, sadly! What actually happens is that Alan Fuller discusses the complexities of transitioning WordPress plugins from shortcodes to blocks.
Mostly Technical: 65: The Existential Threat
Ian & Aaron talk about Aaron's upcoming JS library, a new course idea, "AI Aaron Francis", Disney Adults, and a lot more.
Syntax: Zero Sync is the Future of Data Loading
Deno Sync enables building fast, real-time web apps with local data syncing and the ability to bring your own Postgres database.
The Changelog: The new $30,000 side hustle
Bloomberg reports on a concerning new trend in tech hiring, Sean Goedecke has a lot to say about large established codebases, Jacob Bartlett thinks Apple is ruining Swift’s original vision, Ahmed Khaleel built a cool tool for turning GitHub repos into interactive diagrams
|
Host Header Injection in Laravel: Risks and Prevention
In this blog post, we will explore Host Header Injection, a serious vulnerability in web applications, including Laravel-based ones.
The Hidden Bug That Crashed a Satellite: Lessons for Every Developer
What can developers learn from this? Let’s explore practical lessons, with examples from my own open-source PHP repositories.
Laravel 11.30: A Leap Forward in Testing, Model IDs, and Authorization
This update brings a host of new features and improvements that enhance developer productivity and code flexibility. Let's dive into the key highlights of this release.
Efficiently Manage External Tasks Using Laravel Processes Feature
Laravel offers a powerful and expressive API designed to simplify the execution of external processes within your applications. Tailored to address common use cases, Laravel’s process handling tools prioritize both functionality and an exceptional developer experience.
Defensive Programming in PHP: How to Write Reliable Code
No matter how much experience you have as a developer, you’ve probably encountered moments where things don’t go as planned.
|
Interesting Projects, Tools and Libraries
backpack/basset
Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.
ilmiont/trainline
Trainline is a tiny PHP testing framework to enable the rapid creation of minimal unit tests.
seytar/php-router
The Laravel router, for use outside of the Laravel framework.
codin/sentry-monolog-handler
sentry monolog handler.
dkhlystov/yii2-tooltip
Bootstrap tooltip widget for Yii 2 framework.
miply/module-hotjar
Magento 2 module for easy Hotjar configuration.
codingmonkeys/laravel-nova-inline-boolean
A field which allows booleans to be updated inline.
bugloos/api-versioning-bundle
API Versioning Bundle.
fond-of-oryx/checkout-rest-api-payone-connector
Allows payone payment payloads to be included in in Glue checkout.
swivl/php-coding-standard
Swivl Coding Standard for PHP_CodeSniffer.
|
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:
Protect 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?
|
|
|
|