
Yii2-faker (Fixture generator. The Faker integration for the Yii framework.)
yiisoft/yii2-faker
-
Семенов Александр
- /
- Autre
- /
- il y a 8 ans
- /
- /
- 7346
- /
- 0
Heure de publication: mercredi 24 juin 2015 (il y a 8 ans)
Créé par: Семенов Александр Сергеевич
Catégorie: Autre
Version actuelle:
1 janv. 1970 à 03:00:00 (il y a 53 ans)
Packagist: yiisoft/yii2-faker
: https://github.com/yiisoft/yii2-faker
:
Type: Компонент
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.
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 viaDIRECTORY_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.
dev-master — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.5 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.4 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.3 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.2 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.1 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.0 — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.0-rc — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
2.0.0-beta — 1 janv. 1970 à 03:00:00 (il y a 53 ans)
Стандартная установка:
Добавьте composer.json файл вашего проекта:
"yiisoft/yii2-faker": "*"
Запустите обновление зависимостей
Tous les commentaires (0)