AZE Installer
composer global require "aze/cli"
How to
Create a new AZE application
aze new [APPLICATION_NAME]
If you don't give an application name, the application will be build in the current directory, (*1)
Create a new AZE controller
aze new CONTROLLER_NAME [--dir=DIRECTORY]
Will create a new AZE controller in src/controller (by default) and update your composer.json. You can change the default directory if you set the --dir option., (*2)
If you don't give an application name, the application will be build in the current directory, (*3)
Launch a local server
aze serve
To launch a local server and open your browser, (*4)
aze serve -o
Parameters
To show an help, (*5)
aze serve --help
List of parameters :
* --host=HOST host use to serve your application [default: "localhost"]
* --port=PORT port use to serve your application [default: 80]
* --publicDir=PUBLICDIR directory containing your public files and your index.php [default: "web"]
* --config=CONFIG Configuration file to serve your application [default: "config.properties"]
* -o, --open Open your default browser once the server is launched, (*6)
Configuration file
Exemple :, (*7)
[server]
host=localhost
port=80
publicDir=web