Collection helpful classes for Yii2
composer require nullref/yii2-useful --prefer-dist
-
Action for AJAX model update.
-
Allows to delete multiple models.
-
Allows to update multiple models.
-
Allows encode and decode model fields as integer number.
-
Allows encode and decode model fields as Unix timestamp.
-
Allows encode and decode model fields as JSON.
-
Allows to load related data for model.
-
Allows encode and decode model fields as serialize php string.
-
Allows to implement multilingual features.
-
Allows to invalidate TagDependency when modify ActiveRecord
-
Allows to get defined in DI container class or default.
-
Allows to set and validate password for model.
-
Allows to get map from ActiveRecord.
-
Same as Mappable trait but for ActiveQuery.
-
Save and get object from session
- Redirect after action by url param.
-
Class for calling memoized function or method.
(Will be remove from version 1.0.0)
Allows save in text field customs data structure.
Allows save in text field array structure.
Allows save in integer field bit array.
Allows get lists from ActiveRecord.
Easy work with password.
Action for AJAX record update.
Action multiple update by list of IDs.
Allows implement translations for models