kinbalam/cakephp-restapi

RestAPI plugin for CakePHP

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:cakephp-plugin

dev-master / 0.5.x-dev 2021-05-08 02:24 UTC

This package is auto-updated.

Last update: 2022-05-08 04:51:40 UTC


README

Installation

Composer

You can install this plugin into your CakePHP application using composer:

composer require kinbalam/capephp-restapi:dev-master

Manual

Clone or copy the plugin code into your plugins directory.

git clone https://github.com/suiz0/cakephp-restapi.git

Update composer.json

{
    "autoload": {
        "psr-4": {
            "Kinbalam\\RestAPI\\": "plugins/Kinbalam/RestAPI/src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Kinbalam\\RestAPI\\Test\\": "plugins/Kinbalam/RestAPI/tests/"
        }
    }
}

Load the plugin your Application bootstrap method

src\Application.php
public function bootstrap()
{
    $this->addPlugin('Kinbalam/RestAPI');
}

Todo

  • Stable version
  • Further testing