Skip to main content

Articles tagged: PHP

Follow PHP

They land in your feed reader on their own β€” no account, no email address, nothing to unsubscribe from. Paste this URL into your reader:

https://www.avonture.be/blog/tags/php/rss.xml

No feed reader yet? Start here β€” it takes two minutes.

Let Readers Flag Issues β€” A Multi-Type Feedback Widget for Docusaurus
Component / UI

Let Readers Flag Issues β€” A Multi-Type Feedback Widget for DocusaurusΒ β†’

Build a secure, SSR-safe reader-feedback widget for your Docusaurus blog β€” text selection, 4 feedback types, PHP API with HMAC nonce, rate limiting, deduplication, admin dashboard, and email notifications.

October 29, 2026

ai-test: Generate Missing Unit Tests From Your Terminal With a Local LLM
Artificial Intelligence (AI)

ai-test: Generate Missing Unit Tests From Your Terminal With a Local LLMΒ β†’

Turn your local Ollama model into an on-demand unit test generator. A zsh function that reads a Bash, PHP or Python file, detects whether you already have tests for it, prints only the missing Bats/Pest/Pytest cases needed for full coverage, offers to save them where the framework expects them, and runs the suite in a throw-away Docker container.

August 3, 2026

Adding Reader Reactions to Your Docusaurus Blog
Component / UI

Adding Reader Reactions to Your Docusaurus BlogΒ β†’

Build a fully working "Was this article helpful?" widget for your Docusaurus blog. Step-by-step guide covering the PHP backend, React component, CSS module, Docusaurus swizzle, and an admin dashboard β€” everything you need to reproduce it from scratch.

July 27, 2026

Writing functional tests with Pest
Testing

Writing functional tests with PestΒ β†’

Discover how to write clean and expressive functional tests using the Pest PHP testing framework.

August 30, 2025

API REST - How to write good APIs
API

API REST - How to write good APIsΒ β†’

Master REST API best practices for clean and scalable design. Get tips on correct URI notation, using plural nouns, and utilizing HTTP verbs for semantically correct endpoints.

May 19, 2025

Using Mustache templating with Quarto
Quarto

Using Mustache templating with QuartoΒ β†’

Master Mustache templating in Quarto! Discover how to use the quarto-partials extension to create structured, repetitive documentation pages for your static website project.

May 15, 2025

Laravel Telescope
Laravel

Laravel TelescopeΒ β†’

Laravel Telescope is your ultimate debugging assistant, offering realtime insights into your application's queries, exceptions, cache, and logs. Understand and fix issues faster.

March 22, 2025

Using Docker init to quickly dockerize your PHP application
Docker

Using Docker init to quickly dockerize your PHP applicationΒ β†’

Quickly dockerize your PHP application with Apache using the docker init command. This wizard-based tool generates the necessary Docker files and shows secure database integration.

January 5, 2025

Format poorly formatted PHP code
Code Quality

Format poorly formatted PHP codeΒ β†’

Need to clean up messy PHP code fast? Discover the best online PHP linter, Pint-express (based on Laravel Pint), to instantly format and beautify your code. No installation needed!

December 1, 2024

Write PHP unit tests using Pest
Testing

Write PHP unit tests using PestΒ β†’

Master PHP unit testing with Pest! Discover easy installation, the expressive expect syntax, datasets, snapshots, and powerful architectural testing features.

September 27, 2024

Docker - Configure your localhost to use SSL
SSL / TLS

Docker - Configure your localhost to use SSLΒ β†’

Configure your Docker localhost to use SSL (HTTPS) without browser warnings. This step-by-step guide uses mkcert to generate trusted certificates for Apache, Nginx, and PHP containers.

August 17, 2024

Working with regions in VSCode
VS Code

Working with regions in VSCodeΒ β†’

Master code folding in VSCode with regions. Learn how to use them in PHP and how to enable region support for unsupported files like Dockerfile with a simple extension.

August 5, 2024

Introduction to Behat
Testing

Introduction to BehatΒ β†’

Learn how to use Behat, the open-source Behavior-Driven Development (BDD) framework for PHP. This introduction covers writing powerful functional tests in plain language and setting up your first project.

June 24, 2024

PHP Getter and Setter in VSCode
VS Code

PHP Getter and Setter in VSCodeΒ β†’

Implement secure PHP Getters and Setters in VSCode effortlessly. Learn the best practices for private class properties and use the recommended extension to generate them instantly.

June 16, 2024

Using Postman to play with API
API

Using Postman to play with APIΒ β†’

Master API testing with Postman. Use it as a powerful unit test tool to validate response status, enforce data structure, and prevent regressions in your API development workflow.

May 8, 2024

Obfuscate your PHP code
PHP

Obfuscate your PHP codeΒ β†’

Protect your PHP code with obfuscation. Discover how the php_obfuscator script works and if AI tools like Copilot can still de-obfuscate your proprietary source code.

April 9, 2024

Docker image that provides static analysis tools for PHP
Code Quality

Docker image that provides static analysis tools for PHPΒ β†’

Use the jakzal/phpqa Docker image to instantly run dozens of static analysis and code quality tools for your PHP codebase, including linters and fixers, without any installation.

April 7, 2024

Tabnine - AI Autocomplete & Chat for Javascript, Python, Typescript, PHP, Go, Java & more
Artificial Intelligence (AI)

Tabnine - AI Autocomplete & Chat for Javascript, Python, Typescript, PHP, Go, Java & moreΒ β†’

Tabnine was once a must-have free AI autocomplete extension for VS Code. As of 2025 it is enterprise-only ($39/user/month). This article is kept as a historical reference.

March 2, 2024

PHP code refactoring in VSCode
PHP

PHP code refactoring in VSCodeΒ β†’

Master PHP code refactoring in VSCode with this guide. Use the free PHP Refactor Tool extension to safely rename symbols, classes, and extract new methods.

February 27, 2024

Install a PHP Docker environment in a matter of seconds
PHP

Install a PHP Docker environment in a matter of secondsΒ β†’

Quickly set up a PHP Docker Dev Container environment for VSCode. Get Composer and pre-installed static analysis tools like PHP-CS-Fixer and Rector instantly.

February 23, 2024

Rector 1.0.0 πŸŽ‰πŸŽ‰πŸŽ‰, my friend, my coach
PHP

Rector 1.0.0 πŸŽ‰πŸŽ‰πŸŽ‰, my friend, my coachΒ β†’

Meet PHP Rector, the free, powerful tool for automatic PHP codebase upgrades and refactoring. Instantly improve code quality and become a better PHP developer.

February 14, 2024

PHP development in a devcontainer with preinstalled code quality tools
PHP

PHP development in a devcontainer with preinstalled code quality toolsΒ β†’

Stop fighting code quality issues. Set up a consistent PHP development environment instantly! This step-by-step guide shows you how to configure a VSCode Devcontainer with preinstalled quality and analysis tools.

February 9, 2024

Quickly install WordPress in just three commands
Docker

Quickly install WordPress in just three commandsΒ β†’

Install a complete WordPress site with Docker in just three simple commands. Learn how to set up the network, database (MySQL/MariaDB), and WordPress container quickly and easily.

December 28, 2023

Generating documentation for a PHP codebase
PHP

Generating documentation for a PHP codebaseΒ β†’

Generate high-quality documentation for your PHP codebase effortlessly. This guide shows you how to use the phpDocumentor Docker image to create documentation with a single command.

December 27, 2023

Docker init now supports PHP
PHP

Docker init now supports PHPΒ β†’

Containerize your PHP application fast! This guide shows you how to use the new Docker init feature with PHP and Apache, including a walk-through of the generated Dockerfile and compose.yaml files.

December 7, 2023

Laravel Filament
Laravel

Laravel FilamentΒ β†’

Discover Laravel Filament, a collection of beautiful full-stack components for building administration interfaces with the TALL stack. A free alternative to Laravel Nova.

November 27, 2023

Sticky scroll in vscode
VS Code

Sticky scroll in vscodeΒ β†’

Enable VS Code's powerful Sticky Scroll feature! Keep contextual lines (like class, function, or section headings) pinned to the top of your editor for effortless code and document navigation.

November 27, 2023

Working with Laravel events
Laravel

Working with Laravel eventsΒ β†’

Explore the power of Laravel events for clean, decoupled code. This guide provides a practical, step-by-step example of creating and dispatching an event with a listener.

November 23, 2023

FrankenPHP, a modern application server for PHP
Joomla

FrankenPHP, a modern application server for PHPΒ β†’

Learn how to set up a Joomla website using Docker and FrankenPHP, a modern PHP server that's up to 3.5x faster than PHP-FPM. Includes a simple compose.yaml setup.

November 21, 2023

Install Docker and play with PHP
PHP

Install Docker and play with PHPΒ β†’

Install Docker and run PHP with Apache instantly using containers. Learn to easily switch between PHP versions (like 7.4 and 8.1) without painful local conflicts.

November 3, 2023

The easiest way to run a PHP script / website
PHP

The easiest way to run a PHP script / websiteΒ β†’

The easiest way to run a standard PHP script or website instantly using Docker. Just one docker run command and your code is live for quick testing.

November 2, 2023