Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.19 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.19 KB

Confident

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.