Confident is a framework that helps you to easily create your own RESTful API
We recommend to install Confident using Composer.
$ composer require confident/confident "^1.0"
This example shows how easy it is to set up Confident in your project.
Try it yourself by pasting the code below into your index.php.
<?php
require 'vendor/autoload.php';
$app = new Confident\ApiController();
$app->get('/hello/{name}', function ($name) {
echo "hello " . $name;
});
$app->start();
Confident is licensed under the MIT license. See License File for more information.