bretterer / artisan-factory
Allows you to run factory commands directly from artisan instaed of inside of tinker.
dev-master
2017-11-15 14:17 UTC
Requires
- php: >=7.0.0
- illuminate/console: ^5.5
- illuminate/support: ^5.5
This package is auto-updated.
Last update: 2024-12-16 08:57:08 UTC
README
A small addition to add the use of php artisan factory:create
to create an existing model and store it into your
database.
This is in early development and all feedback and contributions are welcome!
Install
composer require bretterer/artisan-factory
Usage
php artisan factory:create App\\User
Extended Usage
php artisan factory:create App\\User --iterations=3
This will create 3 new users.