Workspace is a tool to orchestrate and bring consistency to your project environments.
PHP-7.3+sodiumphp extension installed and activated in php.ini if it's not enabled by defaultcurlif you wish to use the global traefik proxydocker 17.04.0+docker-compose (compose file version 3.1+)
Download the ws file from the Latest Release make executable and move to a location in your PATH, eg.
curl --output ./ws --location https://github.com/my127/workspace/releases/download/0.1.3/ws
chmod +x ws && sudo mv ws /usr/local/bin/wsConfirm you can run the ws command, e.g.
ws --help
# TODO
First install development dependencies by running composer install. This will set up humbug/box as well.
To build workspace, you can run the build.sh script.
To test the build in multiple PHP versions, there is a docker-compose.yml provided.
To build:
docker-compose build --pullTo fix volume permissions, if you are using Linux, run:
HOST_OS_FAMILY=linux docker-compose up -dIf you are using macOS, run:
HOST_OS_FAMILY=darwin docker-compose up -dYou can now do:
docker-compose exec -u build builder73 /app/build.sh
docker-compose exec -u build builder74 /app/build.sh
docker-compose exec -u build builder80 /app/build.sh