Generate random fitting fake data with Faker

Code
<?php

use Faker\Factory;

$faker Factory::create('it_IT');

dump(
    
// name and address from locale
    
$faker->name,
    
$faker->address,
    
$faker->dateTime,
    
// with optional(), it may return null
    
$faker->optional(0.5null)->colorName
);

echo 
sprintf(
    
'<img src="%s">',
    
$faker->imageUrl(320240'animals')
);
Result
"Alighiero Amato"

"""
Piazza Russo 00\n
San Lino, 33934 Napoli (TP)
"""

DateTime {#385
+"date": "1994-10-29 22:20:22.000000"
+"timezone_type": 3
+"timezone": "Europe/Berlin"
}

"SlateBlue"

Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6