This repository consists of interfaces used by Apigility that can be composed into standalone modules and libraries so that consumers may choose to opt-in to Apigility functionality.
To mark a module as being an Apigility-enabled module, add the following interface to your Module:
use ZF\Apigility\Provider\ApigilityProviderInterface;
class MyModule implements ApigilityProviderInterface
{
}
At this point, this particular module should show up in the Apigility UI interface.
Please see the composer.json file.
Run the following composer
command:
$ composer require zfcampus/zf-apigility-provider
Alternately, manually add the following to your composer.json
, in the require
section:
"require": {
"zfcampus/zf-apigility-provider": "^1.0"
}
And then run composer update
to ensure the module is installed.