ISRC Rule

Validate International Standard Recording Codes

120k Downloads / Month

Open Source MIT License

Explore how to validate International Standard Recording Codes with the validation rules of Intervention Validation for your Laravel app.

public Intervention\Validation\Rules\Isrc::__construct()

Checks for a valid International Standard Recording Code.

Example

use Illuminate\Support\Facades\Validator;
use Intervention\Validation\Rules\Isrc;

// validate code
$validator = Validator::make($request->all(), [
    'attribute-key' => new Isrc(),
]);
Edit