Laravel comes with in-built support to seed test data into a database. There are a few steps you should follow to successfully insert test data into the database. Read it here

Link to all Laravel resources