campaigningsoftware/cambuildr-validation

Validation rules that are used by the CamBuildr

7.1.1 2024-11-07 07:10 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