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
"Sig. Fernando D'amico"

"""
Rotonda Mancini 4 Piano 9\n
Sala del friuli, 98716 Sassari (NO)
"""

DateTime {#385
+"date": "1996-04-19 08:25:14.000000"
+"timezone_type": 3
+"timezone": "Europe/Berlin"
}

"CornflowerBlue"

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