Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Yii2 Faker Laravel Package

yiisoft/yii2-faker

Yii2 integration for Faker, providing fixtures and fake data generators to quickly seed databases and build test data in Yii2 apps. Useful for unit/functional tests and rapid prototyping with consistent, customizable fake datasets.

View on GitHub
Deep Wiki
Context7

インストール

Composer パッケージを取得する

このエクステンションをインストールするのに推奨される方法は composer によるものです。

下記のコマンドを実行してください。

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

または、あなたの composer.json ファイルの require セクションに、

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

を追加してください。

アプリケーションを構成する

このエクステンションを使用するためには、次のコードをあなたのアプリケーション構成情報 (console.php) に追加するだけで十分です。

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

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity