Laravel Community Tools by Tighten

Adewale Adeleye

Joined: 8 years ago
Total tricks: 1
Last trick: 8 years ago

Submitted tricks

This is the trick i use whenever i want to seed states or countries. I simply put the states inside an array and create a loop through the array and save each record into the database instead of repeating the instance to save the records.
Adewagold 8 years ago 13180