IMEI Rule
Validate International Mobile Equipment Identity
117k Downloads / Month
Open Source MIT License
117k Downloads / Month
Open Source MIT License
Learn how to validate the International Mobile Equipment Identifier format (IMEI) with the additional validation rules of Intervention Validation for your Laravel application.
public Intervention\Validation\Rules\Imei::__construct()
The field under validation must be a International Mobile Equipment Identity (IMEI).
none
use Illuminate\Support\Facades\Validator;
use Intervention\Validation\Rules\Imei;
$validator = Validator::make($request->all(), [
'attribute-key' => new Imei(),
]);
Edit