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. Rufo Neri"

"""
Incrocio Rizzo 8 Appartamento 13\n
De Santis ligure, 58059 Terni (TR)
"""

DateTime @653442084 {#1492
date: 1990-09-16 01:41:24.0 Europe/Berlin (+02:00)
}

"Silver"

Used Versions
PHP 7.3, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10