Allows you to run factory commands directly from artisan instaed of inside of tinker.

dev-master 2017-11-15 14:17 UTC

This package is auto-updated.

Last update: 2024-03-16 07:32:45 UTC


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!


composer require bretterer/artisan-factory


php artisan factory:create App\\User

Extended Usage

php artisan factory:create App\\User --iterations=3 This will create 3 new users.