xz1mefx/yii2-ufu

User friendly URLs tools package

Installs: 67

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-02-09 10:03 UTC

This package is not auto-updated.

Last update: 2024-04-27 18:14:49 UTC


README

Latest Version on Packagist Software License Total Downloads

This extension will work only with multilanguage extension

Installation

  1. The preferred way to install this extension is through composer, run:

    php composer.phar require --prefer-dist xz1mefx/yii2-ufu "~1.0"
  2. Previous action also install (if need) the multilanguage extension, so if you did not set it earlier you will need to do it in the first place

  3. Execute migration:

    php yii migrate --migrationPath=@vendor/xz1mefx/yii2-ufu/migrations --interactive=0

    or you can create new migration and extend it, example:

    require(Yii::getAlias('@vendor/xz1mefx/yii2-ufu/migrations/m161223_113345_ufu_init.php'));
    
    /**
    * Class m161221_135355_ufu_init
    */
    class m161221_135355_ufu_init extends m161223_113345_ufu_init
    {
    }
  4. Add ufu-component in main config file:

    'ufu' => [
        'class' => \xz1mefx\ufu\components\UFU::className(),
    ],
  5. [not necessary] If you use iiifx-production/yii2-autocomplete-helper you need to run:

    composer autocomplete