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
"Max Milani"

"""
Contrada Colombo 2\n
Quarto Sabino nell'emilia, 53568 Teramo (PO)
"""

DateTime {#385
+"date": "2006-11-18 18:07:02.000000"
+"timezone_type": 3
+"timezone": "Europe/Berlin"
}

"Green"

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