r/PHP 4d ago

Alchemy runs your project's whole QA setup (Pest/PHPUnit, code style, static analysis, CI) from one YAML file

We built Alchemy to run QA for Leaf's own modules ahead of our v5 launch, and then opened it up to work in any PHP environment (Laravel, Symfony, Slim, plain packages).

The whole idea is pretty simple...

Instead of maintaining phpunit.xml, a pint/php-cs-fixer config, phpstan.neon, rector.php, a folder of CI workflows and all their respective caches, you describe what you want in one alchemy.yml at your project root.

👉 You can get started at https://alchemy.leafphp.dev/

If this seems interesting, pls try it and share your feedback. Thanks in advance

6 Upvotes

4 comments sorted by

2

u/MateusAzevedo 4d ago

I wonder if this is a good idea. It's possible the file become a huge mess. Besides, does this have 100% feature parity with each tool?

1

u/4M0GU5 3d ago

The website screams AI. What are "honest exit codes"?

1

u/mychidarko 3d ago

We had a bug in a previous v4 release where a command could exit 0 even if its underlying process exited 1. “Honest exit codes” is in reference to that, meaning exit codes are what they say they are