kield-01/laravel-phone-validation

There is no license information available for the latest version (1.1.1) of this package.

Phone validation for Laravel

1.1.1 2021-06-30 10:48 UTC

This package is auto-updated.

Last update: 2024-10-29 06:19:07 UTC


README

Scrutinizer Code Quality Build Status Code Intelligence Status

Installation

composer require kield-01/laravel-phone-validation

Auto-Discovery

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"
			]
		}
	}
}

Provider registration (optional)

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,    
    ]   
];

Available Validation rules