bariew/yii2-tools

Tools for yii2 web development

Installs: 690

Dependents: 12

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 5

Open Issues: 0

Type:helpers

1.0.0 2019-04-15 12:08 UTC

This package is auto-updated.

Last update: 2024-03-25 20:00:53 UTC


README

Helpers, widgets for common web development

Actions

  • actions/FileDeleteAction - for deleting FileBehavior model files
  • actions/FileRenameAction - for renaming FileBehavior model files
  • actions/ListAction - for ajax response for DepDrop widget / or html input request

BEHAVIORS

  • behaviors/FileBehavior - for uploading files, saving, showing, processing images
  • behaviors/RankBehavior - for managing model sorting field
  • behaviors/SerializeBehavior - for saving JSON or serialized arrays

HELPERS

  • helpers/EventHelper - for processing events
  • helpers/FormHelper - for processing form data
  • helpers/GridHelper - for displaying GridView
  • helpers/HtmlHelper - for displaying html elements
  • helpers/MigrationHelper - for migration db operations
  • helpers/RbacPermissionMigration - template (extend it) for rbac item add migration

TESTS

  • tests/FixtureManager - for generating fixtures

VALIDATORS

  • validators/ListValidator - for validating attribute having list of available values for it.

WIDGETS

  • widgets/ActiveForm - for using yii active form without echoing it.
  • widgets/UrlView - for rendering any controller partial response (for rbac access to widget content).