Pol Dellaiera on Nostr: I just added a new feature in the Nix PHP builder that will create the proper PHP ...
I just added a new feature in the Nix PHP builder that will create the proper PHP environment based on the `composer.json` file. That feature is a work in progress, but works pretty fine already.
Basically, the idea is to read the `composer.json`, extract the required extensions and instantiate a PHP environment containing those extensions.
Inferring the adequate PHP version to use could be a nice to have.
Find the code and examples at: https://github.com/loophp/nix-php-composer-builder/#extra-work-in-progress
Basically, the idea is to read the `composer.json`, extract the required extensions and instantiate a PHP environment containing those extensions.
Inferring the adequate PHP version to use could be a nice to have.
Find the code and examples at: https://github.com/loophp/nix-php-composer-builder/#extra-work-in-progress