2017 © Pedro Peláez
 

yii2-extension yii2-category

Allows user to create multilevel category from their desire table for the Yii2.

image

yongtiger/yii2-category

Allows user to create multilevel category from their desire table for the Yii2.

  • Sunday, December 17, 2017
  • by yongtiger
  • Repository
  • 3 Watchers
  • 2 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 16 Versions
  • 9 % Grown

The README.md

yii2-category v0.0.14 (ADD# delete-all-url, move-url in Category::getTree)

Allows user to create multilevel category from their desire table for the Yii2., (*1)

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

FEATURES

  • Create Unlimited Multilevel categories
  • Complete category management (create, update, delete, deleteAll, etc.)
  • Visualize category tree structure

, (*3)

DEPENDENCES

INSTALLATION

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

php composer.phar require --prefer-dist yongtiger/yii2-category "*"

or add, (*6)

"yongtiger/yii2-category": "*"

to the require section of your composer.json., (*7)

CONFIGURATION

Module category

'modules' => [
    'category' => [
        'class' => 'yongtiger\category\Module',
        'tableName' => '{{%category_nested_sets}}',
        // 'tableName' => '{{%category_adjacency_list}}',
    ],
    // ...
],

Module treemanager

'modules' => [
    'treemanager' => [
        'class' => 'yongtiger\tree\Module',
        'behaviors' => [
            'tree' => [
                'class' => \creocoder\nestedsets\NestedSetsBehavior::className(),
                // 'class' => \paulzi\nestedsets\NestedSetsBehavior::className(),
                ///To disable the `creocoder/yii2-nested-sets` multiple tree, set to `false`. @see https://github.com/creocoder/yii2-nested-sets
                ///To disable the `paulzi/yii2-nested-sets` multiple tree, set to `null`. @see https://github.com/paulzi/yii2-nested-sets
                'treeAttribute' => 'tree',  ///multiple tree mode for nested-sets 
                // 'leftAttribute' => 'lft',
                // 'rightAttribute' => 'rgt',
                // 'depthAttribute' => 'depth',
            ],
            // 'tree' => [
            //     'class' => \paulzi\adjacencyList\AdjacencyListBehavior::className(),
            // ],
        ],
        // 'isOpAllTransactions' => false,  ///Must set to `true` while using `creocoder/yii2-nested-sets` and `paulzi/yii2-nested-sets`.
        // 'queryClass' => 'common\models\CategoryQuery',
    ],
    // ...
],

USAGES

http://localhost/index.php?r=category

NOTES

DOCUMENTS

REFERENCES

SEE ALSO

TBD

Development roadmap

LICENSE

yii2-category is released under the MIT license, see LICENSE file for details., (*8)

The Versions

17/12 2017

dev-master

9999999-dev http://www.branbook.cc

Allows user to create multilevel category from their desire table for the Yii2.

  Sources   Download

MIT

The Requires

 

extension yii2 manager tree category multilevel

17/12 2017

v0.0.14

0.0.14.0 http://www.branbook.cc

Allows user to create multilevel category from their desire table for the Yii2.

  Sources   Download

MIT

The Requires

 

extension yii2 manager tree category multilevel

12/12 2017

v0.0.13

0.0.13.0 http://www.branbook.cc

Allows user to create multilevel category from their desire table for the Yii2.

  Sources   Download

MIT

The Requires

 

extension yii2 manager tree category multilevel

23/04 2017

v0.0.12

0.0.12.0 http://www.branbook.cc

Allows user to create multilevel category from their desire table for the Yii2.

  Sources   Download

MIT

The Requires

 

extension yii2 manager tree category multilevel

23/04 2017

v0.0.11

0.0.11.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

23/04 2017

v0.0.10

0.0.10.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

23/04 2017

v0.0.9

0.0.9.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

23/04 2017

v0.0.8

0.0.8.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

13/04 2017
11/04 2017

v0.0.5

0.0.5.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

11/04 2017

v0.0.4

0.0.4.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

11/04 2017

v0.0.3

0.0.3.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

10/04 2017

v0.0.2

0.0.2.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

09/04 2017

v0.0.1

0.0.1.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category

09/04 2017

v0.0.0

0.0.0.0 http://www.branbook.cc

  Sources   Download

MIT

The Requires

 

extension yii2 category