Property Hooks will be a reality in PHP 8.4
Top 10 PHP testing frameworks; Machine learning with PHP; Asserting Exceptions in Laravel testing; A Week Of Symfony; and more.
PHP
🐦 What happened to PHP between 2014 and 2024?
A quick look about how PHP has evolve during this time. Types, property hooks, readonly properties, and more important changes.
📚 Property Hooks will be a reality in PHP 8.4
Property Hooks RFC has been approved and it will be released on the next PHP 8.4 version. This is the syntax and why it is one of the biggest changes to come to PHP lately.
📚 Top 10 PHP Testing Frameworks for 2024
In this blog, we will be focusing on automated testing frameworks and will be listing out the best PHP frameworks that will allow you to write your test cases in a standard format.
📚 Navigating the glibc Bug: A Call to Action for PHP Developers
The digital world we inhabit is underpinned by a myriad of technologies that work seamlessly to provide the functionalities we often take for granted. However, the discovery of a 24-year-old bug in the GNU C Library (glibc) has sent ripples through the PHP development community, highlighting the vulnerability of web applications and the importance of proactive security measures.
📚 Machine Learning with PHP
If you're interested in Machine Learning and PHP, Transformers PHP emerges as a game-changer, offering robust text processing capabilities within PHP environments.
📚 Exploring the Power of PHP: Building Dynamic and Scalable Web Applications
In this guide, we'll embark on a journey into the world of PHP, exploring its core concepts, best practices, and practical tips for building modern web applications.
📚 Implementing Push Notifications with PHP and Firebase: Engage Users with Real-Time Updates
In this guide, we'll explore how to implement push notifications using PHP and Firebase Cloud Messaging (FCM), enabling you to send real-time updates to your users' devices with ease.
📚 How to make REST API in PHP Native and MYSQL. Study Case : Transaction API
By the end of this tutorial, you’ll have a basic understanding of how to set up a simple API that can perform CRUD (Create, Read, Update, Delete) operations on a MySQL database.
📚 Property Hooks Get Closer to Becoming a Reality in PHP 8.4
The Property Hooks RFC passed a significant milestone, getting an overwhelmingly positive 34 "yes" votes and only 1 "no" vote. That's well above the required 2/3 majority required to pass.
📚 Mitigating the iconv Vulnerability for PHP (CVE-2024–2961)
Recently, CVE-2024–2961 was released which identifies a buffer overflow vulnerability in GNU libc versions < 2.39 when converting charsets to certain Chinese Extended encodings.
📚 From Old Habits to Modern Best Practices: Introducing Enums
Have you ever stared at a giant switch statement in your PHP code, muttering, “There has to be a better way!”?
📚 PHP: Implementing proxy for keepalive connections using Nginx
The main advantage of PHP languages is the simplicity, as developers don’t have to worry about resource utilisation and memory leakages; PHP will destroy all objects and free all memory after each request execution.
📚 Student Management System In PHP With Source Code
The Student Management System is a simple system developed PHP MySQL database, Using HTML, CSS, Bootstrap, JavaScript, Ajax, J Query, and Modal.
Laravel
📚 Asserting Exceptions in Laravel Tests
Laravel's recent release of Laravel 11.4 introduced the Exceptions facade, which adds conveniences around asserting exceptions in Laravel's exception handler. Before this release, I would typically use the $this->withoutExceptionHandling() to assert that a specific exception happened during an HTTP test.
📚 Elevate Your Laravel Eloquent Queries with Tappable Scopes
In this article, I want to go over how to use tappable scopes in Laravel. I’ve used similar patterns in Java Spring Boot, but never really considered using it in Laravel until I read Unorthodox Eloquent by Muhammed Sari which is an excellent guide to many advanced features in Laravel Eloquent.
📚 Setting up PHP 8.2 + Laravel 11 dev environment on Multipass
Setting up the dev box using Multipass on your machine.
📚 How to Preview Laravel Notification Emails
It’s a hassle trying to test your the HTML of your notification class by sending multiple requests to trigger the Notification to your mail.
📚 Automating Laravel CI/CD with GitHub Actions on Namecheap
Have you had some struggles hosting your Laravel application on namecheap? Or you have been looking for a way to automate your deployments to your namecheap server? This article is for you.
📚 Anonymous Event Broadcasting in Laravel 11.5
This week, the Laravel team released v11.5, with anonymous event broadcasting, Blade performance improvements, generating URLs with query parameters, and more.
📚 Implementing Server-Sent Events (SSE) in Laravel
Server-Sent Events (SSE) is a simple and efficient technology for pushing real-time updates from the server to the client over an HTTP connection. In this article, we’ll learn how to implement SSE in a Laravel application.
Symfony
📚 A Week of Symfony #903 (15-21 April 2024)
This week, Symfony continued adding compatibility with the upcoming PHP 8.4 version and also focused on tweaking and polishing the new features of the upcoming Symfony 7.1 version. Meanwhile, we published more information about some of the talks that will be part of the SymfonyOnline June 2024 conference.