confident/confident

api mapping and mysql conector

v1.0.0 2017-09-05 16:28 UTC

This package is auto-updated.

Last update: 2024-03-25 14:37:11 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads License

Confident is a framework that helps you to easily create your own RESTful API

Installation

We recommend to install Confident using Composer.

$ composer require confident/confident "^1.0"

Usage

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();

License

Confident is licensed under the MIT license. See License File for more information.