AttwFramework is a MVC micro framework to simple projects developments.
##Download ###Composer With composer, you don't need to download the framework core code. It already comes included.
- Download the composer clicking here.
- Run on terminal:
php composer.phar create-project -s dev attwframework/app [application_name]
or via global composer:composer create-project -s dev attwframework/app [application_name]
- After, precautionary, run
php composer.phar install
orcomposer install
in application root.
###Download the zip file To download the zip file, click here.
##Initial configuration
###Directories
####Apart framework core code
If you downloaded the framework core code apart, indicate the directory on index.php of app folder, defining a const as ATTW_FOLDER
.
define( 'ATTW_FOLDER', realpath( APP_ROOT . DS . '..' . DS . 'framework' ) );