Don't write more spaghetti code, new PhpStorm version, and two new PHP Versions [W5]
With static analyzer you can force yourself to write better code and make it impossible to write spaghetti code. Also, there are new PHP, Symfony and CakePHP versions. Do you know what's new?
PHP
📚 Using Interfaces In Third-Party Packages
I was recently working on a PR to make The OG more customizable, and I had some thoughts on using interfaces instead of concrete classes or enums in third-party packages.
📚 How I Made It Impossible To Write Spaghetti Code
This is part 2 of a series of my static analyzer for PHP. If you did not read part 1, I suggest you to read it first.
📚 Features that make PHP go forward
With the drop of older versions, (relatively) new features can be used to modernize the sources. These features are the ones that make PHP go forward: they are wanted and awaited.
📚 Quickstart commands for setting up PHP 8.3 with Nginx on Ubuntu Server 22.04
This guide assumes that you are familiar with linux and the command line, and that you have an actual idea of what you are doing.
📚 CakePHP 4.5.3 RELEASED
Improvements include: Fixed dev error page rendering in PHP8.3, CI matrix now includes PHP8.3, Improve assertion failure message of EventFiredWith constraint + more.
📚 PhpStorm 2024.1 Early Access Program Is Now Open
Today, we’re opening the Early Access Program (EAP) for the next version of PhpStorm!
📚 Introducing Filament v3.2
We're only 15 days into January, and Filament v3.2 has already launched! This release is packed with a bunch of really exciting updates, so let's dive right in and take a look!
📚 PHP 8.3.2 & PHP 8.2.15 Released!
The PHP development team announces the immediate availability of PHP 8.2.15. This is a bug fix release.
📚 Keycode Event Helper
I built this small little helper tool that makes it easy to see information about key presses inside of JavaScript events.
📚 How to Serve LLM Completions in Production
To start, you need to compile llama.cpp. You can follow their README for instructions.
📚 Fiber in PHP: Empowering Concurrent Excellence
As you know, we have always written code synchronously in PHP, and PHP itself did not have the capability to write asynchronous code unless we used existing libraries such as amphp, ReactPHP, or Guzzle for this purpose.
📚 PHP: The first rule of the output buffering is you do not talk about the output buffering
PHP provides built-in helpers to manipulate the output buffering, but it can be tricky to debug.
Laravel
📚 Mastering Laravel Routes: A Comprehensive Guide for All Skill Levels
In this post, were going to keep things light and easy as we walk through the ins and outs of Laravel routes.
📚 Practical Guide to Cleaner Laravel Controllers: Harnessing the Power of Accessors and Mutators
Now, let's explore an actual case that demonstrates the functioning of controllers.
📚 Laravel: Get a better Seeder for free
The default seeder is too barebones for any developer.
📚 Making sure Laravel's debug mode is always disabled in production
Recently, people started talking about a malware called “Androxgh0st” specifically targeting Laravel apps. In a recent edition of Securing Laravel, Stephen Rees-Carter wrote a good explanation of how it works.
📚 Hosting Laravel applications statically
Earlier this week Spatie released a new package called laravel-export, which bundles your Laravel application into a statically host-able website.
📚 Run Laravel in a subdirectory with Nginx (full, working config)
We get Laravel working in a subdirectory, using Nginx configuration. This is great for multiple Laravel installations, or when you just have a second Laravel running inside of any subdirectory.
📚 Automatically Hash Laravel Model Values Using the "Hashed" Cast
In this short article, we're going to take a look at how to automatically hash model values in our Laravel projects before they're stored in the database.
Symfony
📚 Building a Command Line Tool with PHP and Symfony Console
In this article, we'll explore how to create a simple command line tool in PHP using the Symfony Console ( symfony/console) package.
📚 Building a Command Line Tool with PHP and Symfony Console
In this article, we'll explore how to create a simple command line tool in PHP using the Symfony Console ( symfony/console) package.
📚 A Week of Symfony #890 (15-21 January 2024)
This week, we celebrated the SymfonyOnline January 2024 conference with great success. The development activity was less intense than usual because of the online conference and mostly focused on fixing bugs of stable Symfony versions.
📚 How to Manage Tasks with the Symfony Scheduler Component: A Deep Dive
Tasks such as emailing, monitoring, health checks for services, cache invalidation, backups, log rotation, and others can greatly benefit from the implementation of a scheduling system to ensure their regular execution.



