thephpleague / monga

Simple and swift MongoDB abstraction.
MIT License
331 stars 30 forks source link

Seeder #22

Closed webkenny closed 9 years ago

webkenny commented 9 years ago

Love this library so far but I have a need to do some random seeding of data for an API I am putting together. Is there a recommended approach to do that with monga or would it be worth my rolling a plugin for fzaninotto/Faker?

bcrowe commented 9 years ago

Personally, I normally end up making a shell and using fzaninotto/Faker to generate some dummy data. This library is focused around Mongo operations themselves. Seems like you got the right idea.

webkenny commented 9 years ago

Brilliant. Thanks for the support.