Base64 Rule
Validate a Base64 Encoded String
112k Downloads / Month
Open Source MIT License
112k Downloads / Month
Open Source MIT License
public Intervention\Validation\Rules\Base64::__construct()
The field under validation must be Base64 encoded.
none
use Intervention\Validation\Rules\Base64;
$validator = Validator::make($request->all(), [
'attribute-key' => new Base64(),
]);
Edit