2017 © Pedro Peláez
 

library api

ZF2 API module

image

labcoding/api

ZF2 API module

  • Friday, February 10, 2017
  • by labcoding
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ZF2 API module:

- 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;

http://swagger.io/, (*1)

https://github.com/zircote/swagger-php, (*2)

https://github.com/Rebilly/ReDoc, (*3)

Samples

https://rebilly.github.io/ReDoc/, (*4)

Tools

Swagger documentations

The Versions