docs: php: add example to docs

This commit is contained in:
Martin Toman 2022-09-12 14:54:59 -07:00
parent e77c129ad6
commit 969cba514c

View File

@ -1,11 +1,19 @@
# PHP subsystem # PHP subsystem
> !!! PHP support is a work in progress, and it is not yet usable (a > !!! PHP support is experimental. \
> builder is missing). You can track the progress in > !!! You can track the progress in
> [nix-community/dream2nix#240](https://github.com/nix-community/dream2nix/issues/240). > [nix-community/dream2nix#240](https://github.com/nix-community/dream2nix/issues/240).
This section documents the PHP subsystem. This section documents the PHP subsystem.
## Example
An example of building [composer](https://github.com/composer/composer) using dream2nix.
```nix
{{#include ../../../examples/php_composer/flake.nix}}
```
## Translators ## Translators
### composer-lock (pure) ### composer-lock (pure)