nullref/yii2-useful

Useful things for Yii2

Installs: 8 097

Dependents: 14

Suggesters: 0

Security: 0

Stars: 6

Watchers: 7

Forks: 1

Type:yii2-extension

v0.0.4 2017-09-20 21:52 UTC

This package is auto-updated.

Last update: 2023-11-04 05:57:46 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Collection helpful classes for Yii2

Installation

composer require nullref/yii2-useful --prefer-dist

Structure

Actions

Behaviors

Traits

Filters

Helpers

  • Memoize

    Class for calling memoized function or method.

Old version

(Will be remove from version 1.0.0)

JSONBehavior

Allows save in text field customs data structure.

ArrayBehavior

Allows save in text field array structure.

BitBehavior

Allows save in integer field bit array.

DropDownTrait

Allows get lists from ActiveRecord.

PasswordTrait

Easy work with password.

EditAction

Action for AJAX record update.

MultipleUpdateAction

Action multiple update by list of IDs.

TranslationBehavior

Allows implement translations for models