aze
Lightweight PHP Framework, (*1)
aze/cli
aze-php/cli is a binary use to install and serve your aze application, (*2)
composer global require "aze/cli"
More about aze-php/cli, (*3)
How to install
With aze/cli
aze new
With composer
composer require "aze/aze"
Then create an index.php file in your public directory with the following content, (*4)
<?php
$loader = require_once(__DIR__ . '/../vendor/autoload.php');
AZE\core\Initializer::initialize();
How to serve your application
With aze/cli
aze serve
With apache
Create an .htaccess file in your public directory to redirect all requests to your index.php, (*5)
RewriteEngine on
Options +FollowSymLinks
php_flag display_errors on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|swf)$ /index.php