What is Nostr?
Pol Dellaiera /
npub16m7…txzw
2023-08-06 09:32:17

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
Author Public Key
npub16m7meqv0dyt9nqg34erk2ejg97uc6nsd4elj7ayqeunpc7t770aqavtxzw