🔥 I’m sharing 3-4 different repos each day you may like. 🔥
Follow me on X’s, Threads, or in Blue Sky.
PHP Core
📚 RFC: Persistent cURL Share Handles
PHP 8.5 will introduce curl_share_init_persistent()
, allowing cURL handles to be stored in global memory and reused, improving performance and reliability.
📚 RFC: Closures in Constant Expressions
PHP 8.5 will allow closures in attribute parameters, default values of properties and parameters, and constants. This RFC opens up new possibilities for dynamic and flexible code.
📚 RFC: Attributes on Constants
Attributes on constants will be supported in PHP 8.5, enabling more expressive and metadata-rich code.
PHP 8.5 will introduce detailed error backtraces, making it easier to debug and resolve issues in your applications.
📚 RFC: Records, Data Classes, and Structs
The PHP community is exploring new ways to create value objects with RFCs for Records, Data Classes, and Structs. Which one do you prefer? Join the discussion and share your thoughts!
PHP
📚 PHPStan 2.0: Stricter Code Analysis
PHPStan 2.0 introduces Level 10 code analysis, stricter handling of mixed types, and improved performance. Dive into the technical details with Markus Staab’s insights on A mixed type PHPStan journey.
📚 Rector 2.0: Faster and More Efficient
Rector 2.0 brings a 10–15% performance boost and five new features. Learn more about the updates and how they can improve your PHP codebase.
📚 Conductor: Automatic Dependency Updates for Composer
The Packagist team has launched Conductor, a tool similar to Dependabot but tailored for PHP projects. Automate your dependency updates and keep your projects secure and up-to-date.
📚 Run Code Examples Directly on php.net
Now you can run code examples directly on the php.net website, making it easier to test and experiment with PHP code snippets.
📚 PHP Memory Optimization Tips
Optimizing memory usage in PHP is essential for building efficient and scalable applications. Here are some key tips for optimizing memory usage in PHP.
📚 How to Resolve the ‘Permission Denied’ Error in PHP File Handling
When working with file handling in PHP, encountering the dreaded Permission Denied error can be frustrating, especially when dealing with file creation or writing operations.
📚 Support for .env Files: Now Built into PhpStorm
.env files are widely used to configure applications by storing configuration settings, environment variables, and sensitive information. This eliminates the need to hardcode these values into the application code.
📚 PHP 8.4.3 & PHP 8.3.16 Released!
The PHP development team announces the immediate availability of PHP 8.4.3 & PHP 8.3.16. This is a bug fix release.
📚 Php Base64 encode/decode – best practices and use cases
Base64 encoding in PHP is a simple yet powerful tool for transmitting binary data as text. Here’s what you need to know.
📚 Finding and Cleaning OJS (Open Journal System) Malicious Trojan Files
I encountered some small attacks on my ojs web site (version 3.3.0–20) that is just about changing some files adding some other web site links.
With the advent of digitization, the scope of security breaches seems to have increased to a great extent. So even if you are willing to survive in this digital era, you just don’t have to develop a website based on PHP but also ensure that security is pretty much paramount.
Laravel
📚 Converting Fluent Values to Arrays in Laravel
Need to consistently handle values as arrays in your Fluent instances? Laravel’s new array() method provides a clean way to convert values without manual casting.
📚 Seeder vs Factory: Populating Test Data in Laravel
This article breaks down the differences between seeders and factories, shares real-world examples of when to use each, and offers tips to help you decide the best approach for your project.
📚 Mastering Conditional Logic in Laravel with when() and unless() Methods: Real-Life Examples
In this article, we’ll explore how to use these methods in real-life scenarios, demonstrating how they can streamline complex conditional logic in Laravel applications.
📚 Simplified Stream Response Handling in Laravel
Working with HTTP streams in Laravel has traditionally involved multiple steps and conversions, especially when dealing with file downloads or transfers. Laravel’s new resource() method streamlines this process, reducing complex stream handling to a single method call.
📚 Interactive Console Commands in Laravel
When building command-line tools in Laravel, one of the common challenges is handling missing or incorrect user input gracefully.
📚 Permanent Record Deletion with Laravel’s forceDestroy
Laravel’s soft deletes feature helps maintain data integrity by keeping deleted records in your database. However, there are times when you need to permanently remove these records.
📚 How to Fix Weak TLS/SSL Configuration in Laravel
In this blog, we’ll explain what weak TLS/SSL configurations are, their risks, and how you can fix them in your Laravel project.
📚 How to generate fake data using factory tinker in laravel 11 Example
In this article, I will show you How to generate fake data using factory tinker in laravel 11 application.
📚 How To Create Dynamic Apexcharts Using Larapex Charts Package in Laravel 11
In this tutorial, I will show you how to create dynamic apexcharts using larapex charts package in laravel 11 application.
📚 Understanding and Applying Real-World OOP Principles in Laravel Framework : A Practical Guide
OOP Examples with like “book,” “animal,” or “car” are often oversimplified and can feel disconnected from real-world backend development. To bridge this gap, let’s focus on practical, real-world OOP principles in the context of a Laravel framework.
📚 A Fluent Email Validation Rule Added in Laravel 11.38
This week, the Laravel team released v11.38, which includes a fluent Email validation rule, the ability to retrieve a form request or fluent value as an array, a finally() pipeline method, and more.
📚 Television is a Multi-purpose Fuzy Finder TUI
Television is a blazing-fast general-purpose fuzzy finder TUI. It is highly configurable and allows you to quickly search through all kinds of data sources, such as files, Git history, environment variables, etc.
📚 Supervisor Guide for PHP Developers
This post will explain how to set up Supervisor, use it for PHP applications, and configure it with all available options for maximum efficiency.
📚 Enhance Your Laravel Applications with Automated Browser Testing!
Whether you’re a newcomer to Laravel or an experienced developer, understanding and utilizing Dusk can significantly enhance your testing workflow.
Symfony
📚 A Week of Symfony #942 (13-19 January 2025)
This week, Symfony celebrated the SymfonyOnline January 2025 conference. In addition, it announced the new Symfony UX Core Team. Lastly, the upcoming Symfony 7.3 version simplified the configuration of the web debug toolbar replacement on Ajax requests and introduced a JsonEncodable attribute.