Command validator for laravel