定制 planetadeleste/oc-apitoolbox-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

planetadeleste/oc-apitoolbox-plugin

Composer 安装命令:

composer require planetadeleste/oc-apitoolbox-plugin

包简介

Base toolbox plugin for Api Shopaholic plugins

README 文档

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:

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.

统计信息

  • 总下载量: 495
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固