Package pckg-app/apiarrow-up-right provides abstract implementation for building APIs.
pckg-app/api
Require Composer package.
$ composer require pckg-app/api
Available migrations:
Pckg\Api\Migration\CreateApiTables - creates apps and app_keys tables
Pckg\Api\Migration\CreateApiTables
apps
app_keys
Pckg\Api\Migration\CreateApiLogsTable - creates api_logs table for usage with LogRequests middleware and LogResponses afterware
Pckg\Api\Migration\CreateApiLogsTable
api_logs
LogRequests
LogResponses
pckg-app.api.log.response.include (string[]) - prefixes for URLs that should be logged
pckg-app.api.log.response.include
string[]
pckg-app.api.log.request.include (string[]) - prefixes for URLs that should be logged
pckg-app.api.log.request.include
Read more about authenticationarrow-up-right.
Last updated 2 years ago