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
"24.03.2017, 12:52:02"

"10.02.2010, 09:42:56"

"08.05.1978, 01:11:13"
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6