Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Как пользоваться

Установка через 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'],
],

About

arrays passed to api in string format with separator

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages