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.ra Celeste Vitali"

"""
Piazza Sasha 10 Appartamento 63\n
Maria del friuli, 39813 Nuoro (AQ)
"""

DateTime @1408370277 {#1492
date: 2014-08-18 15:57:57.0 Europe/Berlin (+02:00)
}

"SteelBlue"

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