In this branch, I create my first factory by :
- using php artisan make:factory PostFactory --model=Post
- use composer dump-autoload to autoload all files
- use tinker (shell) to run factory via php artisan tinker
- use Post::factory()->count(10)->create() command to generate 10 data in our DB
- PHP
- Laravel
๐ค Rindra josia
- Github: @rindrajosia
- Twitter: @rindrajosia
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
The Laravel framework is open-sourced software licensed under the MIT license.