19/10
2017
api mapping and mysql conector
Confident is a framework that helps you to easily create your own RESTful API, (*2)
We recommend to install Confident using Composer., (*3)
$ 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., (*4)
<?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., (*5)