composer require kield-01/laravel-phone-validation
If You would like not to auto-discover this packages' ServiceProvider, You need to put this line into Your composer.json:
{
"extra": {
"laravel": {
"dont-discover": [
"kield-01/laravel-phone-validation"
]
}
}
}
If You have this package to be non-discoverable, then You would need to register its ServiceProvider in the app.php
:
<?php
return [
'providers' => [
KielD01\PhoneValidation\Providers\ValidationServiceProvider::class,
]
];