labcoding / api
ZF2 API module
dev-master
2017-02-10 19:00 UTC
Requires
- php: >=5.6
- jasny/error-handler: ^0.2.0
- jenssegers/agent: ~2.4
- sebaks/view: ~0.1.0
- sebaks/zend-mvc-controller: ~0.1.0
- t4web/domain-module: ~1.3.0
- zircote/swagger-php: ^2.0
Suggests
- t4web/admin: for showing in admin
This package is not auto-updated.
Last update: 2025-03-01 22:57:57 UTC
README
- backend web-console for testing api requests
- logs api data(platform, headers, request, respons, etc.)
- API documentation
CREATE TABLE `api_logs` ( `id` INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT, `platform` VARCHAR(255), `resource` VARCHAR(255) NOT NULL, `request_method` VARCHAR(255) NOT NULL, `request_body` TEXT, `request_headers` TEXT, `response_code` VARCHAR(255) NOT NULL, `response_body` TEXT, `created_dt` DATETIME, `ip` VARCHAR(255) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
https://github.com/zircote/swagger-php
https://github.com/Rebilly/ReDoc
Samples
https://rebilly.github.io/ReDoc/