planetadeleste/oc-apitoolbox-plugin

Base toolbox plugin for Api Shopaholic plugins

2.0.10 2024-10-05 14:08 UTC

README

Base toolbox plugin for Api Lovata.Shopaholic plugins

Dependencies

This plugin depends on:

Installation

To install from the repository, clone it into plugins/planetadeleste/apitoolbox and then run composer update from your project root in order to pull in the dependencies.

To install it with Composer, run composer require oc-apitoolbox-plugin from your project root.

Documentation

Usage

Coming soon

Events

Coming soon

Console commands

Create a new Api controller class Make a new controller for api toolbox. New file will be located in $author/$plugin/controllers/api/$controllerName.php Command: apitoolbox:create:controller Arguments:

Options:

Create a new Api resource elements Make new files for api resource controller. New files will be located in

$author/$plugin/classes/resource/$model/IndexCollection.php
$author/$plugin/classes/resource/$model/ListCollection.php
$author/$plugin/classes/resource/$model/ItemResource.php
$author/$plugin/classes/resource/$model/ShowResource.php

Command: apitoolbox:create:resource Arguments:

Options: