Takeshi Yu

Just simple folk, with HTML, trying to make a living.

Composer Linker: The npm link for PHP Developers

In modern PHP application development, particularly with the rise of microservices architecture and modular design principles, breaking down large applications into independent packages has become a best practice. This approach not only enhances code maintainability and reusability but also allows team members to focus on specific functional areas.

However, when you start managing multiple interdependent packages, the development workflow can become complex and cumbersome. This article shares how I transformed a real development pain point into a Composer plugin that simplifies the PHP multi-package development experience.

Date
Read more, Composer Linker: The npm link for PHP Developers

Handling Decimal Calculations in PHP 8.4: Integrating BCMath Object API with Laravel

When developing enterprise applications, particularly those handling financial transactions, accounting systems, or inventory management, precise numerical calculations are non-negotiable. A small rounding error could lead to significant discrepancies and debugging nightmares. Let's dive into how PHP 8.4's new BCMath Object API makes handling these calculations both precise and elegant.

Date
Read more, Handling Decimal Calculations in PHP 8.4: Integrating BCMath Object API with Laravel

That Time Composer's Timeout Drove Me Nuts

You know what's frustrating? Spending hours debugging what seems like a simple Docker build issue, only to find out it's something completely unexpected. That's exactly what happened to me recently while working on a Laravel deployment.

Date
Read more, That Time Composer's Timeout Drove Me Nuts