Viper Installer
Install
Composer
We recommend this command for linux based web servers.
composer require viper/installer
Recommended that you install it globally for development environments.
composer global require viper/installer
Authorization
Coming soon. For more information, please visit Viper Lab.
New Project
Once installed, the viper new
command will create a fresh Viper installation
in the directory you specify. For instance, viper new api
will create a directory
named api
containing a fresh Viper installation with all of Viper's dependencies
already installed:
Linux
viper new api
composer create-project --prefer-dist viper/viper api
Windows
If you are planning on installing Viper's dependencies on a Windows OS running locally, then you may have to provided a few extra steps.
- Create new
api
project directory.
viper new api
- Followed by running these commands in order.
composer install --no-scripts
composer run-script post-root-package-install
composer run-script post-create-project-cmd
composer run-script post-autoload-dump
Docker
Additionally, you can install Docker containers for your project.
viper new docker
Vagrant
We choose to use Vagrant for building our virtual machines.
viper new vagrant