It is very easy to extend a phd-based application with existing composer packages. You can integrate any Yii2 extension or PHP library into phd.
docker-compose run --rm php bash
Start with a search on Packagist or from your command line
$ composer search -N "yii2-excel"
To install an extension simply require it in your composer.json
with the following command
$ composer require vendor/package
Make sure to commit your
composer.lock
file, so your co-developers get the exact same version.
How to configure a package depends on the package and it's type. In general you can follow Yii's rules for application module and component configuration.
$ composer show --installed