Yii3 API Application Template 1.0

The first stable release of the API application template for Yii3.

The template includes the essential things required to start API application development:

  • middleware dispatcher,
  • routing,
  • a set of response formats for APIs (success, error, collection, pagination, …),
  • exception handling,
  • console entry point,
  • tests and static analysis,
  • Docker,
  • and more...

As an example, a simple API method and a console command are implemented. The template does not impose any restrictions on the architecture of the developed application and is open for integration with any PHP libraries.