In this example we will see how to create dummy data/records using tinker in laravel.
laravel tinker is used for adding dummy records in database. mostly laravel tinker command is use for testing purpose, whenever developers are developing application then they need to test many modules like insert, update, delete is working or not, pagination is working or not , filters are working properly and other functionalities.
So, all these modules we can not add data manually every time it is very boring task to add record one by one, but laravel provide very useful command that is tinker and factory using this command we can add multiple dummy data at a time without using route or any controller, just type some code of command and that's it you can found bunch of records in your database.
Read More : Create Dummy Data Using Tinker In Laravel
https://www.techsolutionstuff.com/post/create-dummy-data-using-tinker-in-laravel
---
Read More : Import Export CSV/EXCEL File In Laravel
https://www.techsolutionstuff.com/post/import-export-csv-excel-file-in-laravel