Did you know that AI Assistant can generate your tests? [W10]
Six Essential Plugins for Visual Studio Code; PhpStorm is getting a brand new terminal; Composition over Inheritance; and 9 rules for writing (better?) code.
PHP
📚 AI for PHP: How to Make AI Assistant Generate Test Implementations
We started this series by looking at how JetBrains AI Assistant can generate tests from an existing implementation. But what if we want to use AI Assistant the other way around?
📚 PhpStorm is getting a brand new terminal
Coming to PhpStorm 2024.1 is a new redeveloped terminal that includes everything from visual changes to each ran command being put in its own block, new command history, and more.
📚 PHP Development Trends In 2024
The Zend 2024 PHP Landscape Report is now available! In this post I want to highlight several points from this report.
📚 Simple HTML form validation with PHP (a step-by-step guide)
In this tutorial, I'll be showing you how to perform a simple HTML form processing/validation using PHP.
📚 Harnessing the Might of PHP 8 String Functions: A Practical Guide
In this guide, we’ll dive into the latest enhancements and features of PHP 8 string functions, equipping developers with the tools they need to wield strings with mastery.
📚 Homage to PHP Open Source Community and welcome my Genetic Algorithms Library in PHP
The reason I wasn't getting any jobs wasn't that I was a bad developer, or because I failed to sell my skills; it was that I was missing one of the simplest yet most powerful rules in the world: the supply and demand equilibrium.
📚 Six Essential Plugins for Visual Studio Code
We've created a collection of essential plugins for Visual Studio Code that will supercharge your coding experience. I’ve gathered my favorite extensions to make you a more productive PHP developer and even threw in my favorite theme for VS Code.
📚 Composition over Inheritance
A lot can be learned about software development by playing retro games.
📚 9 rules for writing (better?) code
Like many developers, I like learning new things. And one thing that interests me a lot is code quality and how to write code.
📚 Rethinking Database Migrations: The Diminishing Role of the down() Method in PHP Frameworks
This article delves into the arguments surrounding its potential obsolescence, weighing its importance against emerging trends and alternative strategies in database management.
Laravel
📚 Model Casts are moving to methods in Laravel 11
Model casts in Laravel 10 are defined via the $casts array property. However, in Laravel 11, you can define a casts() method, which opens the possibility to use static methods on built-in casters as well as define static methods for custom casters.
📚 Understanding Laravel Seeder Resolution and Execution
As a Laravel developer, I’ve recently found myself writing more seeders than ever before.
📚 Use Google's Gemini AI in Laravel
Start using Google’s Gemini AI APIs in your Laravel application with the Gemini PHP package. This package for Laravel built around the Gemini PHP Client, providing a Facade to interact with the API and AI models available.
📚 Laravel Artisan Command Dependency Injection
Don’t inject dependencies for Artisan commands using the __construct() method, use handle() instead.
📚 Send, validate, and store Base64 files with Laravel
Laravel makes it easy to send and upload files, at least when it comes to handling binary files.
📚 Retry mechanisms in Laravel
When something doesn't work on the first try, what do we do? We try it again, right? Expecting that it might work this time.
📚 I broke your Laravel app But I didn’t mean to
While I was building an application for a company, I encountered a bug that couldn’t fix because no error was thrown. That headache was a relationship query for a particular Model.
Symfony
📚 Enhancing Code Decoupling in Symfony with Immutable Data Transfer Objects (DTOs)
In Symfony development, maintaining clean and decoupled code is paramount for building scalable, maintainable applications.
📚 Symfony 7.0.4 released
Symfony 7.0.4 has just been released. Here is the list of the most important changes since 7.0.3
Tools
📦 nunomaduro/phpinsights
Instant PHP quality checks from your console.
📦 drbiko/oauth2-server-php
OAuth2 Server for PHP.
📦 codrasil/punchcard
A PHP Library for interacting with time records, time in, and time out.
📦 patchlevel/event-sourcing-admin-bundle
symfony admin ui for patchlevel/event-sourcing-bundle.
📦 tsnc/prisma-php
Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM.
📦 kblais/query-filter
Easily create filters for your Eloquent models.

