soyhuce/laravel-8-factories
Composer 安装命令:
composer require soyhuce/laravel-8-factories
包简介
Laravel 8 factories for Laravel 7
README 文档
README
This package is an extraction of class-based Laravel 8 model factories in order to use them in Laravel 7.
Installation
You should install this package using composer :
composer require --dev soyhuce/laravel-8-factories
Then, publish factory stub
mkdir -p stubs cp vendor/soyhuce/laravel-8-factories/assets/factory.stub stubs/factory.stub
Add in your composer.json autoload-dev psr-4 configuration
"autoload-dev": { "psr-4": { "Database\\Factories\\": "database/factories" } },
Documentation
There is not documentation yet but feel free to contribute in laravel/doc repository.
Bugs
The only goal of this project is being able to use Laravel 8 model factories. If it has some bugs, please report them in laravel/framework.
Contributing
You can contribute on model factories directly on laravel/framework.
If this package needs to be updated, feel free to PR. A composer update-sources command is available for this.
统计信息
- 总下载量: 1.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-18