Welcome Guest, Not a member yet? Register   Sign In
Simple wwy to generate fake data in controller
#1

I have read tje docs on generating test data.But the problem is it seems to only focus on generating test data from models and for database seeding

How can I generate fake data independent of a model or database in CI4 in a normal CI4 controller
Probably using the Faker class?
Reply
#2

Yup.

Here is a good one:

https://github.com/fzaninotto/Faker
Reply
#3

(This post was last modified: 09-24-2020, 02:39 AM by rossiehood.)

Thank you I will give it a look
Reply




Theme © iAndrew 2016 - Forum software by © MyBB