-
Notifications
You must be signed in to change notification settings - Fork 10
Installation
Stefano Azzolini edited this page Feb 25, 2016
·
2 revisions
Add package to your composer.json:
{
"require": {
"caffeina-core/core": "*"
}
}Run composer:
$ php composer.phar install -oNow the entire toolchain is already available upon the vendor autoloader inclusion.
<?php
// Load vendors
include 'vendor/autoload.php';
Route::on('/',function(){
echo "Hello from Core!";
});
// Dispatch route
Route::dispatch();
// Send response to the browser
Response::send();Core is maintained by using the Semantic Versioning Specification (SemVer).
Copyright 2014-2016 Caffeina srl under the MIT license.
http://caffeina.com