API
Pckg / API
Package pckg-app/api
provides abstract implementation for building APIs.
Installation
Require Composer package.
Migrations
Available migrations:
Pckg\Api\Migration\CreateApiTables
- createsapps
andapp_keys
tablesPckg\Api\Migration\CreateApiLogsTable
- createsapi_logs
table for usage withLogRequests
middleware andLogResponses
afterware
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?