janynne / fake-data-arrays
There is no license information available for the latest version (dev-master) of this package.
Tenha dados para testar suas aplicações de forma offline
dev-master
2019-09-21 02:17 UTC
Requires
- php: >7.0
This package is auto-updated.
Last update: 2025-06-21 22:35:25 UTC
README
Fake Data Arrays for offline testing in dev enviroments
How to use:
#1 - Add the dependence to your composer.json file
"require": {
"janynne/fake-data-arrays": "dev-master"
}
#2 - Add the autoloader include on your page
require __DIR__.'/vendor/autoload.php';
#3 - Import the namespace and create the object to use the getPeople($count) function
use Janynne\FakeData\FakeDataArrays;
$fakeObj = new FakeDataArrays();
var_dump($fakeObj->getPeople(10));