This plugin enables Composer to autoload .phx
files properly.
Add the plugin as a dependency in the project's composer.json
:
composer require phxlang/composer-phx-plugin
Now you can work with .phx
files in your project and use all the features of PHX.