eppak / laradock-cli
Laradock cli
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: ^7.2.5
- ext-json: *
- ext-posix: *
- illuminate/log: ^7.0
- laminas/laminas-text: ^2.7
- laravel-zero/framework: ^7.0
- padraic/phar-updater: ^1.0.6
- symfony/process: ^5.0
- symfony/yaml: ^5.0
Requires (Dev)
- mockery/mockery: ^1.3.1
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-29 05:47:21 UTC
README
Installation
$ wget https://github.com/eppak/laradock-cli/raw/master/builds/laradock-cli
$ chmod +x laradock-cli
$ sudo cp laradock-cli /usr/bin/laradock-cli
Upgrade
$ sudo laradock-cli self-update
Configuration You can create a laradock.yml in .laradock-cli folder in your home or in currend directory. Use this content and customize as you wish:
name: my-docker php: 7.4 mysql: 5.7
Usage
$ laradock-cli init
Inizialize a new laradock folder in the current directory, you can add --path=/your/path to change destination.
$ laradock-cli start
Start the laradock containers, you can add --path=/your/path to change destination.
$ laradock-cli stop
Stop the laradock containers, you can add --path=/your/path to change destination.
$ laradock-cli check
Check if istances started correctly.
$ laradock-cli workspace
Enter in the bash of the workspace container where you can run artisan.
$ laradock-cli mysql
Enter in the bash of the mysql container.