brezgalov/yii2-arrayable-api-fields
Composer 安装命令:
composer require brezgalov/yii2-arrayable-api-fields
包简介
arrays passed to api in string format with separator
README 文档
README
Установка через composer:
composer require brezgalov/yii2-arrayable-api-fields --prefer-dist
Для php8:
composer require brezgalov/yii2-arrayable-api-fields --prefer-dist --ignore-platform-reqs
Подключить в behaviours модели:
'arrayableInput' => [
'class' => ArrayableInputBehaviour::class,
'fields' => ['id', 'exclude_id'],
],
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-03