viper / lab
Grab your environment files from ViperLab.
v1.2.1
2020-06-02 18:10 UTC
Requires
- php: ^7.2.9
- ext-zip: *
- guzzlehttp/guzzle: ^6.0
- symfony/console: ^4.0|^5.0
- symfony/filesystem: ^4.0|^5.0
- symfony/process: ^4.2|^5.0
- vlucas/phpdotenv: 3.6
Requires (Dev)
- phpunit/phpunit: ^8.0
README
Introduction
Grab your environment files from ViperLab.
Install
Composer
We recommend this command for linux based web servers.
composer require viper/lab
Recommended that you install it globally for development environments.
composer global require viper/lab
Personal Private Access Token
Obtain your personal private access token from ViperLab.
Usage
There are three types of environments we support currently.
Type | Path |
---|---|
Docker | docker/.env |
Vagrant | virtual/config.yml |
Viper | .env |
Docker
Find by ID
viper-lab docker --private-token=<TOKEN> --id=<ID>
Find by Title
viper-lab docker --private-token=<TOKEN> --title=<TITLE>
Vagrant
viper-lab vagrant --private-token=<TOKEN> --title=<TITLE>
Viper
viper-lab viper --private-token=<TOKEN> --title=<TITLE>