campaigningsoftware/cambuildr-validation

Validation rules that are used by the CamBuildr

v6.0 2023-10-03 15:44 UTC

README

Latest Version on Packagist

Validation rules that are used by the CamBuildr (https://www.cambuildr.com)

Installation

Installation is possible via composer

composer require campaigningsoftware/cambuildr-validation

The package will automatically register itself.

Available Validation Rules

EmailCambuildr

Determine if the given email address is valid for the CamBuildr. The error message can be overridden via the constructor.

API Routes

The package provides GET-Routes to perform validation through API calls. Route prefix and middleware can be configured when publishing the config:

php artisan vendor:publish --provider="CampaigningSoftware\CambuildrValidation\CambuildrValidationServiceProvider" --tag="config"

Testing

composer test