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

Instalar

Fixture generator. The Faker integration for the Yii framework.

Tiempo de publicación: miércoles, 24 de junio de 2015 (hace 8 años)

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

Categoría: Otros

Versión actual:
1 ene. 1970 3:00:00 (hace 54 años)

Packagist: yiisoft/yii2-faker

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

:

Tipo: Компонент


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.

todos los comentarios (0)
Sin comentarios

dev-master — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.5 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.4 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.3 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.2 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.1 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.0 — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.0-rc — 1 ene. 1970 3:00:00 (hace 54 años)

2.0.0-beta — 1 ene. 1970 3:00:00 (hace 54 años)

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

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

"yiisoft/yii2-faker": "*"

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


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