Create your own Faker provider for generating fake data

Code
<?php

use Faker\Provider\Base;
use 
Faker\Factory;

class 
IntlDateProvider extends Base
{
    private 
$formatter;
    
    public function 
__construct($generator$locale)
    {
        
parent::__construct($generator);
        
$this->formatter = new IntlDateFormatter(
            (string) 
$locale,
            
IntlDateFormatter::MEDIUM,
            
IntlDateFormatter::MEDIUM
        
);
    }
    
    public function 
intldate()
    {
        
$date $this->generator->dateTime;
        
        return 
$this->formatter->format($date);
    }
}

$faker Factory::create();
$faker->addProvider(new IntlDateProvider($faker'de'));

dump(
    
$faker->intldate,
    
$faker->intldate,
    
$faker->intldate
);
Result
"18.06.2005, 00:29:27"

"20.11.1986, 01:58:22"

"21.11.2005, 10:16:03"
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6