brezgalov/yii2-arrayable-api-fields

arrays passed to api in string format with separator

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/brezgalov/yii2-arrayable-api-fields

v1.0.1 2021-08-06 16:24 UTC

This package is auto-updated.

Last update: 2025-10-07 01:43:58 UTC


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'],
],