xandrkat / yii2-yajax
为 Yii2 提供Ajax调用的模块
dev-master
2020-03-22 04:29 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-09-22 14:35:22 UTC
README
为 Yii2 提供Ajax调用的模块
安装
安装此扩展的首选方法是通过 composer。
运行以下命令之一:
php composer.phar require --prefer-dist xandrkat/yii2-yajax "*"
或者在您的 composer.json
文件的 require 部分添加:
"xandrkat/yii2-yajax": "*"
to the require section of your composer.json
file.
使用方法
一旦扩展安装完成,只需在您的代码中使用即可
<?= \xandrkat\yajax\AutoloadExample::widget(); ?>```