bubbaops / matrix
Zero Configuration .devscontainer for Laravel Developers using VS Code
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
Requires
- php: ^7.3|^8.0
- doctrine/lexer: ^1.2
- illuminate/console: ^6 || ^7 || ^8
- illuminate/filesystem: ^6 || ^7 || ^8
- illuminate/support: ^6 || ^7 || ^8
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2
- illuminate/config: ^6 || ^7 || ^8
- illuminate/view: ^6 || ^7 || ^8
- phpdocumentor/phpdocumentor: ^3.0
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^8.5 || ^9
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2025-01-29 06:38:02 UTC
README
Requirements
- PHP >= 7.0
- composer
- Laravel Project
Features
- 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
Installation
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
.
Configuration
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.
Changelog
To keep track, please refer to CHANGELOG.md.
Contributing
- 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.
License
Please refer to LICENSE.