-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Stefano Azzolini edited this page Aug 21, 2014
·
36 revisions
is Caffeina internal PHP SDK for rapid application development.
Add package to your composer.json:
{
"require": {
"caffeina-core/core": "dev-master"
}
}
Run composer:
$ php composer.phar install -o
Now 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