hiqdev/hiapi

HiAPI Yii2 base project for building API

Installs: 17 216

Dependents: 3

Suggesters: 0

Security: 0

Stars: 5

Watchers: 5

Forks: 4

Open Issues: 0

Type:yii2-extension

dev-master 2023-09-27 11:55 UTC

This package is auto-updated.

Last update: 2024-10-27 14:11:10 UTC


README

HiAPI - base project for building API

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Dependency Status

HiAPI is a base project for building API.

Installation

The preferred way to install this yii2-extension is through composer.

Either run

php composer.phar require "hiqdev/hiapi"

or add

"hiqdev/hiapi": "*"

to the require section of your composer.json.

Overview

  • Endpoint - describes an endpoint:
    • name and description
    • availability: web, console, ...
    • authorization
    • input it takes - Command
    • output it returns - Result
    • execution conveyor: Middlewares and Action
  • Command - describes and holds input data
  • Action - takes Command and returns Result
  • Result - describes and holds output data

License

This project is released under the terms of the BSD-3-Clause license. Read more here.

Copyright © 2017, HiQDev (http://hiqdev.com/)