charlesportwoodii / yii2-api
Yii2 API Skeleton
Requires
Requires (Dev)
- codeception/codeception: 2.4.1
- codeception/specify: *
- codeception/verify: *
- flow/jsonpath: ^0.4.0
- fzaninotto/faker: ^1.8
- mohrekopp/php-mailhog-client: dev-master
- php-http/curl-client: ^1.7
- squizlabs/php_codesniffer: ^3.2
- yiisoft/yii2-coding-standards: ^2.0
- yiisoft/yii2-debug: ~2.0.14
- yiisoft/yii2-faker: ^2.0.4
- yiisoft/yii2-gii: ^2.0.7
- yiisoft/yii2-shell: ~2.0.1
This package is auto-updated.
Last update: 2024-11-11 23:59:30 UTC
README
A project template to reduce the overhead involved in writing RESTful JSON API's by implementing common API endpoints (such as registration and authentication) so that developers can focus on writing core application business logic rather than implementing the same components over and over again. Built ontop of Yii Framework 2 (Yii2), this project provides a basline API skeleton that is easy to extend from, and implements a base API that can easily be extended from.
What is Provided?
By default the following functionality is provided:
- Authentication with HMAC+HKDF
- Registration
- Password Resets for authenticate and unauthenticated users
The additional functionality is provided as well:
- Two factor authentication via OTP codes + API endpoints to manage
- Configurable Rate Limiting
- Encrypted API session support via libsodium
- Translation support
- Develop with Docker
Documentation
For information on how to setup, configure, extend, and use this framework, please read the documentation in the docs folder.
How to Contribute
You can contribute to the development of the core API by submitting a new issue or pull request to this repository, or to the yii2-api-rest-components, where the core components are stored. If you're looking for something to contribute to, consider the following ideas:
- Translations
- Implementing new API endpoints common to API's
License
See LICENSE.md for licensing information.