2017 © Pedro Peláez
 

yii2-extension yii2-useful

Useful things for Yii2

image

nullref/yii2-useful

Useful things for Yii2

  • Thursday, July 19, 2018
  • by ZAYEC77
  • Repository
  • 7 Watchers
  • 3 Stars
  • 2,511 Installations
  • PHP
  • 13 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Yii2-useful

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Collection helpful classes for Yii2, (*2)

Installation

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

Structure

Actions

  • EditAction

    Action for AJAX model update., (*3)

  • MultipleDeleteAction

    Allows to delete multiple models., (*4)

  • MultipleUpdateAction

    Allows to update multiple models., (*5)

Behaviors

  • BinaryBehavior

    Allows encode and decode model fields as integer number., (*6)

  • DateBehavior

    Allows encode and decode model fields as Unix timestamp., (*7)

  • JsonBehavior

    Allows encode and decode model fields as JSON., (*8)

  • RelatedBehavior

    Allows to load related data for model., (*9)

  • SerializeBehavior

    Allows encode and decode model fields as serialize php string., (*10)

  • TranslationBehavior

    Allows to implement multilingual features., (*11)

  • CacheTagDependencyBehavior

    Allows to invalidate TagDependency when modify ActiveRecord, (*12)

Traits

  • GetDefinition

    Allows to get defined in DI container class or default., (*13)

  • HasPassword

    Allows to set and validate password for model., (*14)

  • Mappable

    Allows to get map from ActiveRecord., (*15)

  • MappableQuery

    Same as Mappable trait but for ActiveQuery., (*16)

  • SessionModel

    Save and get object from session, (*17)

Filters

  • #### RedirectFilter Redirect after action by url param.

Helpers

  • Memoize

    Class for calling memoized function or method., (*18)

Old version

(Will be remove from version 1.0.0), (*19)

JSONBehavior

Allows save in text field customs data structure., (*20)

ArrayBehavior

Allows save in text field array structure., (*21)

BitBehavior

Allows save in integer field bit array., (*22)

Allows get lists from ActiveRecord., (*23)

PasswordTrait

Easy work with password., (*24)

EditAction

Action for AJAX record update., (*25)

MultipleUpdateAction

Action multiple update by list of IDs., (*26)

TranslationBehavior

Allows implement translations for models, (*27)

The Versions

19/07 2018

dev-master

9999999-dev https://github.com/NullRefExcep/yii2-common-behaviors

Useful things for Yii2

  Sources   Download

MIT

The Requires

 

framework yii2 behavior

20/09 2017

v0.0.4

0.0.4.0 https://github.com/NullRefExcep/yii2-common-behaviors

Useful things for Yii2

  Sources   Download

MIT

The Requires

 

framework yii2 behavior

04/10 2016

v0.0.3

0.0.3.0 https://github.com/NullRefExcep/yii2-common-behaviors

Useful things for Yii2

  Sources   Download

MIT

The Requires

 

framework yii2 behavior

18/02 2016

v0.0.2

0.0.2.0 https://github.com/NullRefExcep/yii2-common-behaviors

Useful things for Yii2

  Sources   Download

MIT

The Requires

 

framework yii2 behavior

11/08 2015

v0.0.1

0.0.1.0 https://github.com/NullRefExcep/yii2-common-behaviors

Useful things for Yii2

  Sources   Download

MIT

The Requires

 

framework yii2 behavior