API

Webisters API Project.

Installation

The installation of this project can be done with Composer:

composer create-project webisters/api api

Or, using the Webisters CLI:

composer global require webisters/webisters
composer global exec webisters setup
webisters new-api api
# If `webisters` is not on PATH yet:
# composer global exec webisters new-api api
cd api
composer install

Structure

This is the basic directory tree:

.
├── .editorconfig
├── .env.php
├── .gitignore
├── .php-cs-fixer.dist.php
├── App.php
├── app/
│   ├── Controllers/
│   ├── Languages/
│   └── Models/
├── boot/
│   ├── app.php
│   ├── constants.php
│   ├── helpers.php
│   ├── init.php
│   └── routes.php
├── composer.json
├── composer.local.json
├── config/
├── phpdoc.dist.xml
├── phpunit.xml.dist
├── preload.php
├── public/
│   └── index.php
├── README.md
├── SECURITY.md
├── storage/
├── tests/
├── vendor/
└── webisters