campaigningbureau / cambuildr-validation
Validation rules that are used by the CamBuildr
Installs: 1 519
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Requires
- php: ^8.2
- laravel/framework: ^11.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-11-12 22:18:07 UTC
README
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