Looking to hire Laravel developers? Try LaraJobs

factory-generator-for-laravel maintained by ercogx

Description
A library that automatically fills the definition() method in the factory based on DB columns
Author
Last update
2024/09/21 00:20 (dev-main)
License
Links
Downloads
5

Comments
comments powered by Disqus

Factory Generator For Laravel

This library automatically fills the definition() method in the factory based on DB columns

The library is unlikely to generate all the fields for your model. The entities are very different, you will most likely have to edit some fields manually. It is just an attempt to simplify the routine process. I will be glad for additions to FakerMapper

Install

composer require --dev ercogx/factory-generator-for-laravel

Usage

php artisan make:generate-factory User

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.