API
Pckg / API
Package pckg-app/api provides abstract implementation for building APIs.
Installation
Require Composer package.
$ composer require pckg-app/apiMigrations
Available migrations:
Pckg\Api\Migration\CreateApiTables- createsappsandapp_keystablesPckg\Api\Migration\CreateApiLogsTable- createsapi_logstable for usage withLogRequestsmiddleware andLogResponsesafterware
Config
pckg-app.api.log.response.include(string[]) - prefixes for URLs that should be loggedpckg-app.api.log.request.include(string[]) - prefixes for URLs that should be logged
Read more
Read more about authentication.
Last updated
Was this helpful?