- PHP >= 7.0
- composer
- Laravel Project
- Zero Configuration install for your Visual Studio Code .devcontainer development desires
- A beautifully crafted workspace for your .devcontainer
- An nginx container
- A PHP FPM container
- Other Optional Containers
- mariadb
- memcached
- mssql
- mysql
- postgres
- redis
composer require --dev BubbaOps/matrix
php artisan vendor:publish --tag=devcontainer
This will create the .devcontainer
for you and populate it with:
mariadb/Dockerfile
memcached/Dockerfile
mssql/Dockerfile
mysql/Dockerfile
nginx/Dockerfile
php-fpm/Dockerfile
postgres/Dockerfile
redis/Dockerfile
workspace/Dockerfile
devcontainer.json
docker-compose.yml
If you run php artisan vendor:publish --tag=devcontainer
again, it will not modify anything, same with any other configuration. You must use the artisan --force
option to overwrite existing files in your .devcontainer
.
If you want to modify the configuration, have a look at the Remote development in Containers which will necessarily direct you to the Docker Documentation for specifics.
To keep track, please refer to CHANGELOG.md.
- Fork it.
- Create your feature branch (git checkout -b my-new-feature).
- Make your changes.
- Run the tests, adding new ones for your own code if necessary (phpunit).
- Commit your changes (git commit -am 'Added some feature').
- Push to the branch (git push origin my-new-feature).
- Create new pull request.
Also please refer to CONTRIBUTION.md.
Please refer to LICENSE.