Bash Script to allow create Laravel 5, Lumen, Slim Framework 3, CakePHP 3 and WordPress together with project's Virtual Host
-
Enable SSL Module
$ sudo a2enmod ssl
-
Download the script
-
Apply permission to execute:
$ chmod +x /path/to/laranix.sh
-
To make use the script globally
$ sudo cp /path/to/laranix.sh /usr/local/bin/laranix
Basic command line syntax:
$ sudo laranix [laravel|lumen|cake|slim|cake|wp] [project-name] [extension] [ip-address]
[extension]
and [ip-address]
is optional. By default it will use .dev
and 127.0.0.1
-
Optionally accept
domain-name
-
Optionally accept
ip-address
-
Optionally accept
port