PHP code example of icy8 / drcms5-addon
1. Go to this page and download the library: Download icy8/drcms5-addon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icy8 / drcms5-addon example snippets
shell
php think draddon --addon=drmo install
drmo 插件示例。我是 app_begin hook, 我拦截了程序。
欢迎来到 drmo 插件示例,你访问了drmo/controller/Test.php
shell
# 插件列表
php think draddon list