Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 1.07 KB

zf-apigility-provider.md

File metadata and controls

48 lines (33 loc) · 1.07 KB

ZF Apigility Provider

Introduction

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.

General Usage

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.

Requirements

Please see the composer.json file.

Installation

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.