You’re Not a Laravel Developer If You Don’t Know These 10 Things
PHP 8.4 Introduces array_find Function: Innovation or Gimmick?; PHP 8.4.0 Beta 3 now available for testing; and Base entities and behaviors for Doctrine — how I do it.
PHP
📚 PHP 8.4 Introduces array_find Function: Innovation or Gimmick?
The release of PHP 8.4 has brought many exciting new features, one of which is the array_find function. As a PHP developer, I’ve delved into this new feature and would like to share my insights, while also inviting everyone to join the discussion.
📚 Is PHP’s DateTime Class Really That Bad?
This article will delve into the pros and cons of the DateTime class, the importance of immutability, and how to effectively use the DateTime class, analyzing the reasons and impacts behind these issues.
📚 PHP Secure Coding: Don't Let the Code Get Loose
I was having a casual chat with a friend the other day who is a tech lead on a successful startup, and while we were watching the Olympics final of women's water polo, we started talking about a PHP fail I found in the wild.
📚 From Chaos to Control: Why Automated Tests Are Essential
The pressure to fit into the client’s budget, to deliver MVPs quickly and later to release new features and updates can sometimes lead to corners being cut — especially when it comes to testing.
📚 Creating a Blog Platform with PHP: A Step-by-Step Guide
By the end of this tutorial, you’ll have a fully functional blog platform where users can create, read, update, and delete blog posts.
📚 PHP 8.4.0 Beta 3 now available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, Beta 3. This is the first beta release, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
📚 Xdebug Update: July 2024
In this monthly update I explain what happened with Xdebug development in the past month. These are normally published on the first Tuesday on or after the 5th of each month.
📚 To Double Quote Or Not, That's The Question!
It is in this spirit that I am writing an article about the same topic Nikita Popov did already 12 years ago.
📚 What is PHP Fibers?
PHP Fibers is a relatively new feature introduced in PHP 8.1, designed to provide a lightweight and efficient way to handle asynchronous programming and concurrency.
Laravel
📚 How Laravel's TrimStrings Middleware Can Cause Issues
PHP opcode caching improves speed by storing compiled PHP code in memory. This eliminates the need for PHP to recompile the code each time it is requested. The code runs precompiled.
📚 You’re Not a Laravel Developer If You Don’t Know These 10 Things
Don’t Call Yourself a Laravel Developer Until You’ve Mastered These 10 Concepts.
📚 Learn how to create custom Facades in Laravel
Laravel Facades are a fantastic feature of the Laravel framework, providing convenient access to services via a simple interface. One thing that confused me when I was first learning Laravel was the facade accessor method.
📚 Eloquent Trick: Laravel Model from Subquery
This technique allows us to encapsulate complex queries within the application layer, much like creating a database view, but with the added flexibility of Eloquent operations.
📚 How & When To Use Event Listeners in Laravel 11? Practical Code Examples
This guide tells extremely detailed points on implementation and utilization of event listening especially in 2024, providing a fresh perspective with the most expansive content and detailed code examples event listeners in Laravel 11.
📚 Automating Report Generation and Distribution with Laravel’s Task Scheduler
Laravel’s Task Scheduler provides a powerful way to automate recurring tasks, including the generation and distribution of reports. Let’s explore how to set up automated reporting in your Laravel application.
📚 Automated API documentation generation for Laravel with static code analysis using Scramble
Documenting an API in Laravel often involves using packages that rely on manual PHPDoc annotations. While this method works, it is time-consuming, error-prone, and often leads to documentation becoming outdated as the codebase evolves.
📚 Mastering Laravel Artisan Commands: Optimize, Tinker, and More
In this blog post, we’ll explore several essential Artisan commands and their use cases, including clearing and optimizing caches, interacting with your application using Tinker, listing available commands, and creating custom commands.
📚 Observers in Laravel: Your Secret Weapon for Efficient Model Management
Today’s topic is Observers in Laravel — a tool that can significantly simplify event handling in your application. But as with most things, the devil is in the details, and Observers have their advantages as well as pitfalls that you should be aware of.
📚 Unlock the Magic of Laravel Stubs: Supercharge Your Code Generation
In this post, we’ll explore what Laravel stubs are, how to use them, and how they can be customized to fit your needs.
Symfony
📚 Base entities and behaviors for Doctrine — how I do it.
If you work with Symfony, then you probably work with Doctrine as well. How do you create new entities? I try to make it easy.
📚 A Week of Symfony #920 (12-18 August 2024)
This week, Symfony optimized dumped resources for tracking in Config and DependencyInjection components, deprecated !tagged tag in favor of the !tagged_iterator tag and fixed handling NO_COLOR env var while adding support for FORCE_COLOR env var. In addition, we published more details about some talks of the SymfonyCon Vienna 2024 conference.