Moflet is a Simple and Fast PHP framework.
$ cd /www/HOST/ # Project Directory
$ curl -s https://getcomposer.org/installer | php
$ vi composer.json
{
"require": {
"moflet/moflet": "dev-master"
}
}
$ php composer.phar install
$ php vendor/moflet/moflet/bin/mof-init
$ vi httpd.conf
<VirtualHost *:80>
DocumentRoot /www/HOST/public/
ServerName HOST
ErrorLog logs/HOST.error_log
CustomLog logs/HOST.access_log common
<Directory /www/HOST/public/>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !^(index\.php|images|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
</Directory>
</VirtualHost>