This is how you typically use the validation helper in Lumen to validate the incoming http request in your API controller:
class LoginApiController extends Controller{ Use Helpers;