djeager / yii2-api
某些资源的API
1.2.3
2018-04-15 18:02 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-29 01:49:25 UTC
README
某些资源的API
安装
安装此扩展的首选方式是通过 Composer。
运行以下命令之一:
php composer.phar require --prefer-dist djeager/yii2-api "*"
或者将以下内容添加到您的 composer.json 文件的 require 部分:
"djeager/yii2-api": "*"
to the require section of your composer.json file.
使用方法
扩展安装完成后,只需在您的代码中使用它即可
<?= \djeager\api\AutoloadExample::widget(); ?>```