A guide on installing the BeRest Agent and the BeRest API Framework.

Installing the Framework

From PHP archive

To start using the framework, copy the file API.phar inside your project. You will then be able to include the framework inside your project.

require_once ROOTDIR . '/libs/API.phar';

It's that simple, you are now ready to start building your API. The framework comes with a bunch of useful classes that we will explore in the next sections.

From Composer

After you've received access to the framework repository, you will be able to including it in your Composer file.

"require": {
    "BeRest/API": "~1.0"