Fish support for Symfony developer shortcuts when using Docker.
- Docker Compose >=1.18.0
With fisherman
fisher add fervo-and-friends/symf-fish
First, make sure there's .phpcontainer
and .nodecontainer
files in the same directory as your docker-compose.yaml
file. These should contain the Docker Compose names of the containers in which php and node commands respectively should be executed.
$ dcep ls
$ dcrp ls
$ dcen ls
$ dcrn ls
$ dsf help
Note: Your auth.json will be exported to Docker. Make sure your auth.json is located in ~/.composer/auth.json.
$ dcomposer
$ dnode
$ dnpm
$ dbehat
$ dphpunit
$ dphpspec run