2017 © Pedro Peláez
 

yii2-extension yii2-widgets-builder

An extension for creating and storing html widgets with content to the database for Yii2 site builder

image

dotallineed/yii2-widgets-builder

An extension for creating and storing html widgets with content to the database for Yii2 site builder

  • Tuesday, November 22, 2016
  • by dotallineed
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Wigets builder

An extension for creating and storing html widgets with content to the database for Yii2 site builder, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist dotallineed/yii2-widgets-builder "dev-master"

or add, (*4)

"dotallineed/yii2-widgets-builder": "*"

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

Usage

Once the extension is installed, Add the following code in your main configuration file, (*6)

```php 'builderwidgets' => [ 'class' => 'dotallineed\widgetsbuilder\BuilderWidget',, (*7)

        'storage' => [
            'class' => 'dotallineed\widgetsbuilder\MultipleStorage',
            'storages' => [
                [
                    'class' => 'dotallineed\widgetsbuilder\DatabaseStorage',
                    'table' => 'builder_widgets',
                ],
            ],
        ]       

    ],

```, (*8)

and simply use it in your code by :, (*9)

php $builder_widgets=Yii::$app->builderwidgets;, (*10)

The Versions

22/11 2016

dev-master

9999999-dev https://github.com/dotallineed/yii2-widgets-builder

An extension for creating and storing html widgets with content to the database for Yii2 site builder

  Sources   Download

MIT

The Requires

 

by Kinggeorge Magaga

extension yii2