Download the PHP package planetadeleste/oc-apitoolbox-plugin without Composer
On this page you can find all versions of the php package planetadeleste/oc-apitoolbox-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download planetadeleste/oc-apitoolbox-plugin
More information about planetadeleste/oc-apitoolbox-plugin
Files in planetadeleste/oc-apitoolbox-plugin
Download planetadeleste/oc-apitoolbox-plugin
More information about planetadeleste/oc-apitoolbox-plugin
Files in planetadeleste/oc-apitoolbox-plugin
Vendor planetadeleste
Package oc-apitoolbox-plugin
Short Description Base toolbox plugin for Api Shopaholic plugins
License MIT
Package oc-apitoolbox-plugin
Short Description Base toolbox plugin for Api Shopaholic plugins
License MIT
Please rate this library. Is it a good library?
Informations about the package oc-apitoolbox-plugin
API Toolbox
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: |
Name | Required | Description |
|---|---|---|---|
plugin |
true |
The name of the plugin to create. Eg: RainLab.Blog | |
controller |
true |
The name of the controller to create. Eg: Posts |
| Options: | Name | Value | Description |
|---|---|---|---|
force |
NONE | Overwrite existing files with generated ones. | |
model |
String (optional) | The name of the model. Eg: Post |
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: |
Name | Required | Description |
|---|---|---|---|
plugin |
true |
The name of the plugin to create. Eg: RainLab.Blog | |
expansion_plugin |
true |
The name of the other plugin. Eg: RainLab.Blog | |
model |
true |
The name of the model to create. Eg: Product |
| Options: | Name | Value | Description |
|---|---|---|---|
force |
NONE | Overwrite existing files with generated ones. | |
add-images |
NONE | Add images relation. |
|
add-preview-image |
NONE | Add preview_image relation. |
All versions of oc-apitoolbox-plugin with dependencies
PHP Build Version
Package Version
The package planetadeleste/oc-apitoolbox-plugin contains the following files
Loading the files please wait ...