承接 erebot/skeleton-module 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

erebot/skeleton-module

Composer 安装命令:

composer require erebot/skeleton-module

包简介

Skeleton for a new module designed for Erebot

README 文档

README

README for Erebot_Module_Skeleton

This file contains a few instructions on how to create a new module for Erebot.

First, let me make it clear that the content of this pseudo-module is released
under the version 3 or later of the GNU General Public License.

Now, let's see how this pseudo-module is organized.
Folders are indicated using a trailing "/" following their name (eg. "src/").
Each file/folder is followed by a short description on its role.
```
 /
 |- build.xml           A description of the tasks usable with Phing
 |                      (overrides vendor/erebot/buildenv/build.xml).
 |- composer.json       Package description for Composer.
 |- data/               Static files used by the module.
 |  `- i18n/            Translation catalogs for the module
 |                      (updated automatically by a call to "phing").
 |- docs/               Everything that relates to the documentation
 |  |                   (sub-folders are automatically created by Phing, Doxygen, ...).
 |  `- src/             Sources for the end-user documentation.
 |- Doxyfile            Doxygen configuration
 |                      (overrides vendor/erebot/buildenv/Doxyfile).
 |- LICENSE             License for the module.
 |- README              README information for the module (this file)
 |- src/                Source code for the module.
 |- tests/              (Unit) Tests for the module (compatible with PHPUnit).
 `- vendor/             Dependencies for the module, managed by Composer.
```

At a minimum, you will probably need to edit build.xml, composer.json and README.
In most cases, you only need to replace occurrences of "Erebot_Module_Skeleton"
with the name of your new module.

In addition, you may need to replace the content of the LICENSE file to reflect
the actual license used by your module.

Once this is done, you may start adding code under the src/ folder.
Well, actually, you'll need to create a folder structure under src/ matching
the names of the classes in your code.
For example, the class ``Erebot_Module_Skeleton`` really belongs to
``src/Erebot/Module/Skeleton.php``.

Now, to test your module, add the module to Erebot's composer.json and update
your Erebot installation with::

    $ php /path/to/composer.phar update

Then, add the configuration for your module in Erebot's configuration file and
start Erebot normally. It should detect your module and configure it with the
correct settings.

Voilà!

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2013-10-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固