<?php
use Illuminate\Hashing\BcryptHasher;
$hasher = new BcryptHasher();
$str = 'Budgie';
// uses php 5.5 password_hash()
$hash = $hasher->make($str);
// uses php 5.5 password_verify()
$isValid = $hasher->check($str, $hash);
dump($str, $hash, $isValid);
^ "Budgie"
^ "$2y$10$zB4IeTtirHg1AIbl7CRMS.IK9zU7JSmDCrv.jyqW.E6Tw2BErLXIm"
^ true