title: Give name to custom validation Rule - Laravel 8
body: <p>Laravel 8 makes it possible to create custom Validation rules: <a href="https://laravel.com/docs/8.x/validation#custom-validation-rules" rel="nofollow noreferrer">https://laravel.com/docs/8.x/validation#custom-validation-rules</a></p>
  <p><code>php artisan make:rule Euro</code></p>
  <p>But then you have to pass the rule as a object (instead of a string):</p>
  <p><code>new Euro</code></p>
  <p>instead of the regular string notation</p>
  <p><code>'required|euro'</code></p>
  <p>Is there anyway to &quot;register&quot; the new Rule classes to a string identifier and use them like you can you the pre-existing rules?</p>