/noAPI

noAPI - easly and secure create REST API using PHP.

Primary LanguagePHPMIT LicenseMIT

noAPI

noAPI - easly and secure create REST API using PHP.

Security

  • Header Authentication
  • OpenSSL

Configuration

Attention

require 'vendor/autoload.php';
  • apiV1
'method' => 'apiv1',

'data' 	 => array('...')

see example on API-V1/api.php

  • Request
'secret_key'=>'I_AM_SECRET_KEY' ,
'secret_iv' =>'I_AM_SECRET_IV' ,
'method'    =>'request',
'data'      =>array('...')				   

see example on TWO-WAY-API/request.php

  • Response
'secret_key'=>'I_AM_SECRET_KEY' ,
'secret_iv' =>'I_AM_SECRET_IV'  ,
'method'    =>'response',
'url'       =>'http://localhost'

see example on TWO-WAY-API/response.php

Installing

git clone https://github.com/eminmuhammadi/noAPI.git

Documentation

https://eminmuhammadi.github.io/noAPI/ - For Documentation page visit this link

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details