/Harbor

Command-line tool to dockerize Laravel.

Primary LanguagePHPMIT LicenseMIT

Harbor

Command-line tool to help dockerize Laravel. Built using Laravel Zero.

Installation

$ composer global require whatdafox/harbor

Usage

Create a new Laravel application (using the Laravel Installer):

$ laravel new MyApplication

Initialize Harbor:

$ harbor init

Boot your containers:

$ harbor up

To shut down the container, run:

$ harbor down

To see all running containers, run:

$ harbor ps

To run artisan commands, run:

$ harbor artisan [arguments & options]

To run composer commands, run:

$ harbor composer [arguments & options]

To run phpunit commands, run:

$ harbor phpunit [arguments & options]

To run any other commands, run:

$ harbor run  command [arguments & options]

License

Harbor is an open-source software licensed under the MIT license.