dentro / nge
Docker helper for Laravel.
Installs: 447
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 5
Forks: 0
pkg:composer/dentro/nge
Requires
- php: >=8.1
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/contracts: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
- symfony/console: ^6.2|^7.0
- symfony/yaml: ^6.2|^7.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0
- phpstan/phpstan: ^1.10
README
Laravel Nge (en-ji)
Get onboard faster with Docker for Laravel.
Introduction
Nge is boosting your experience to onboard and deploy Laravel project. Nge is compatible with macOS, Windows (WSL2), and Linux. Nge includes our pre-built image from DokarPHP so you can focus on your software development instead of wasting your time on waiting, or building your own image.
Inspiration
Laravel Nge is inspired by and derived from Laravel Sail.
Prerequisites
How to
composer require dentro/nge:{version}- Run
php artisan nge:installand choose containers. This command generate adocker-compose.yml. - Run
./vendor/bin/nge up -dto start your containers - Run
./vendor/bin/nge artisan migrateto migrate your database - Access site via
http://localhost:80by default.
Run Container's Command
You can run commands via container such as artisan, composer, npm, yarn, expose and many more. You can run ./vendor/bin/nge --help|-h to learn more about the available commands.
Examples
./vendor/bin/nge artisan make:controllerto make a controller./vendor/bin/nge composer require some/packageto require some/package into yourcomposer.json./vendor/bin/nge yarn watchto run host reload withyarncommand. You can useyarn,npm, orpnpm.
Contributing
Feel free to contribute by reporting new issues or make PRs.
License
Laravel Nge is open-sourced software under the MIT license.