Validation in Laravel

Code
<?php

use Illuminate\Validation\Validator;
use 
Illuminate\Translation\Translator;
use 
Illuminate\Translation\FileLoader;
use 
Illuminate\Filesystem\Filesystem;

$filesystem = new Filesystem();
$loader = new FileLoader($filesystem'');
$translator = new Translator($loader'us');

$data = [
    
'age' => 22,
    
'name' => 'John',
    
'email' => 'john@doe.com',
];

$rules = [
    
'age' => 'required|Integer|min:18',
    
'name' => 'required|alpha',
    
'email' => 'email',
];

$validator = new Validator(
    
$translator,
    
$data,
    
$rules
);

$hasPassed $validator->passes();

var_dump($hasPassed);
Result
bool(true)
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6