Yii2-faker (Fixture generator. The Faker integration for the Yii framework.)

Yii2-faker (Fixture generator. The Faker integration for the Yii framework.)

yiisoft/yii2-faker

Установить

Fixture generator. The Faker integration for the Yii framework.

Время публикации: среда, 24 июня 2015 г. (8 лет назад)

Добавил: Семенов Александр Сергеевич

Категория: Прочее

Актуальная версия:
1 янв. 1970 г., 3:00:00 (54 года назад)

Packagist: yiisoft/yii2-faker

: https://github.com/yiisoft/yii2-faker

:

Тип: Компонент


Fixture generator. The Faker integration for the Yii framework.

Faker Extension for Yii 2


This extension provides a Faker fixture command for the Yii framework 2.0.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiisoft/yii2-faker

or add

"yiisoft/yii2-faker": "~2.0.0"

to the require section of your composer.json.

Usage

To use this extension, simply add the following code in your application configuration (console.php):

'controllerMap' => [
    'fixture' => [
        'class' => 'yii\faker\FixtureController',
    ],
],

Yii Framework 2 faker extension Change Log

2.0.6 under development

  • no changes in this release.

2.0.5 November 10, 2020

  • Chg: Switch to faker/faker to ensure PHP 8 compatibility (samdark)

2.0.4 February 19, 2018

  • Bug #29: Fixed FixtureController::findTemplatesFiles() trim $templatePath from $fileName correctly via DIRECTORY_SEPARATOR (ofixone)
  • Enh #22: Made FixtureController private methods protected for better class extensibility (samdark)
  • Enh #24: Added support for fixture templates in subdirectories (d1rtyf1ng3rs)
  • Enh #28: FixtureController::generateFixtureFile() now uses $templateName to index fixtures for easier debug (drsdre)
  • Chg: Switched to asset-packagist

2.0.3 March 01, 2015

  • no changes in this release.

2.0.2 January 11, 2015

  • no changes in this release.

2.0.1 December 07, 2014

  • no changes in this release.

2.0.0 October 12, 2014

  • no changes in this release.

2.0.0-rc September 27, 2014

  • Chg #4622: Simplified the way of creating a Faker fixture template file (qiangxue)

2.0.0-beta April 13, 2014

  • Initial release.

Все комментарии (0)
Нет комментариев

dev-master — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.5 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.4 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.3 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.2 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.1 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.0 — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.0-rc — 1 янв. 1970 г., 3:00:00 (54 года назад)

2.0.0-beta — 1 янв. 1970 г., 3:00:00 (54 года назад)

Стандартная установка:

Добавьте composer.json файл вашего проекта:

"yiisoft/yii2-faker": "*"

Запустите обновление зависимостей


Читать про обнолвение SkeekS CMS