Download the PHP package sfneal/cruise without Composer
On this page you can find all versions of the php package sfneal/cruise. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sfneal/cruise
More information about sfneal/cruise
Files in sfneal/cruise
Package cruise
Short Description Cruise is a Laravel Sail inspired CLI for managing Docker services
License MIT
Homepage https://github.com/sfneal/cruise
Informations about the package cruise
sfneal/cruise
Cruise is a Laravel Sail inspired CLI for managing Docker services
Installation
You can install the package via composer:
Run the cruise install command to publish cruise assets.
This will add Dockerfiles, docker compose configs & other docker assets to your application root.
Run the cruise uninstall command to remove published cruise assets
Usage
Once the php artsian cruise:install
command has been run you will have access to various command and utilities for running & testing your laravel application
Artisan commands
Syntax | Description |
---|---|
php artisan bump |
Bump your application to the next major, minor or patch version |
php artisan version |
Display your application current version |
php artisan migrate:prod |
Run database migrations only when your application env is 'production' |
php artisan db:wait |
Application start up hook that allows you to wait for your database to become available |
Composer commands
Syntax | Description |
---|---|
composer build |
Docker build your application (prod or dev) |
composer start-dev |
Start docker services for your development environment |
composer start-dev-db |
Start docker services for your development environment with a local database |
composer start-dev-node |
Start docker services for your development environment with a node webpack hot re-loader |
composer start-test |
Start docker services for testing your application (app, cache & db) |
composer stop |
Stop docker services & delete containers, volumes & networks |
Testing
Cookbook
Create a new Laravel application with Laravel Breeze & cruise installed
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.