Validation as a service using the Illuminate validator class.