Welcome to NukaCode Installer¶
This is a modified version of the laravel installer. It allows you to install a fully configured version of the NukaCode Framework.
Note
This installer will conflict with the normal laravel installer.
Badges¶
Install¶
Run the following composer command to install the nukacode installer globally.
composer global require "nukacode/installer=~2.1"
Make sure to place the ~/.composer/vendor/bin
directory in your PATH so the laravel executable can be located by your system.
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Usage¶
Once installed, the simple laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog would create a directory named blog containing a fresh Laravel installation with all dependencies installed. This method of installation is much faster than installing via Composer:
laravel new blog
Install Options¶
Slim Build¶
By adding the --slim
flag you can install a minimal version of the NukaCode Framework. This only includes Laravel base and core.
laravel new blog --slim
Laravel Only¶
If you only want laravel without the NukaCode framework then you can add the --laravelOnly
flag.
laravel new blog --laravelOnly
Lumen Build¶
If you want laravel lumen with the NukaCode framework then you can add the --lumen
flag.
laravel new blog --lumen
Laravel Lumen Only¶
If you want laravel lumen without the NukaCode framework then you can add the --lumenOnly
flag.
laravel new blog --lumenOnly
Build Cache¶
Each time the installer is run it checks the NukaCode build server to see if there is a newer version of the build to download. If you have the latest build then it will use your local copy instead of downloading it again.
You can force the installer to download a new copy by adding the --force
flag.
laravel new blog --force
Pre-download Application Data¶
This command allows you to download the nukacode slim, full and lumen application data so that you wont have to during the install. Best used as a nightly cron.
laravel download