Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.25 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.25 KB

Verify the enrollment status of college and university students

Latest Version on Packagist phpunit

This package can be used to validate college and university student's email addresses.

You can install the package using composer:

composer require codelayer/laravel-student-validator

Translations

If you wish to customize the package's translation, you can publish the translation files:

php artisan vendor:publish --provider="Codelayer\StudentValidator\StudentValidatorServiceProvider"

Usage

Simply use the StudentEmail rule inside your rules array, e.g. in a form request:

use Codelayer\StudentValidator\Rules\StudentEmail;

public function rules()
{
    return [
        'email' => ['required', 'email', new StudentEmail()],
    ];
}

About Us

codelayer is a web development agency based in Karlsruhe, Germany. This package was developed for use in our product likvi.

License

The MIT License (MIT).