sourcetoad/rule-helper-for-laravel
Fluent helpers for building Laravel validation rules. Use RuleSet to chain required/unique/max and add custom rules, or Rule for static rule builders. Supports reusable defined rule sets and extras like requiredIfAll/requiredIfAny for complex conditions.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| proengsoft/laravel-jsvalidation | 0.87 | Generate client-side form validation automatically from your Laravel rules, messages, validators, and FormRequest classes—no custom JavaScript needed. Built on jQuery Validation, supports localization, and uses AJAX for rules like unique/exists/active_url and custom rules. | 1,141 | 1,158 | 175 | 29K | 13 | 38.3 | 31.6 | MIT | 4 months ago | |
| cakephp/validation | 0.86 | Lightweight validation library from the CakePHP ecosystem. Define rules and validators for arrays and data objects, run checks, and collect readable error messages. Useful standalone or within CakePHP apps for consistent input validation. | 43 | 45 | 8 | 6K | 0 | 0.5 | 29.9 | NOASSERTION | — | |
| respect/validation | 0.86 | Powerful PHP validation engine with 150+ tested validators. Build readable, chainable rules like numeric()->positive()->between(). Includes advanced exception handling and thorough docs. Great for complex input validation in any PHP app. | 6,031 | 6,156 | 775 | 849K | 8 | 71.5 | 38.5 | MIT | 2 weeks ago | |
| braincrafted/validation-bundle | 0.86 | — | 5 | 5 | 2 | 0 | 0 | 1.0 | — | MIT | 12 years ago | |
| watson/validating | 0.86 | — | 973 | 980 | 78 | 68K | 12 | 10.8 | 29.7 | MIT | — | |
| mohammad-fouladgar/eloquent-builder | 0.85 | — | 526 | 527 | 42 | 1K | 0 | 4.2 | 7.2 | MIT | 7 years ago | |
| setono/code-quality-pack | 0.85 | Laravel-friendly code quality pack with ready-to-use tools and config for static analysis, coding standards, refactoring, and CI checks. Helps keep projects consistent and maintainable with minimal setup, ideal for teams and shared repositories. | 7 | 7 | 0 | 744 | 0 | 25.0 | 31.1 | MIT | 3 months ago | |
| korbeil/phpstan-generic-rules | 0.85 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 5 | 7K | 2 | 7.8 | 39.3 | — | 9 months ago | |
| woohoolabs/coding-standard | 0.85 | Woohoo Labs PHP Coding Standard for PHP_CodeSniffer, based on PSR-12 and inspired by Doctrine and Slevomat rules. Install via Composer and drop in the provided phpcs.xml to start enforcing consistent code style (PHP 7.4+). | 3 | 3 | 0 | 72 | 0 | 3.3 | 17.7 | MIT | 2 years ago | |
| sunrise/coding-standard | 0.85 | Sunrise PHP Coding Standard provides a ready-to-use PHPCS ruleset (ruleset.xml) you can reference in your project to enforce consistent code style across src and tests, aligned with PSR-1 and PSR-2. | 2 | 2 | 1 | 196 | 1 | 0.5 | 25.7 | MIT | 7 years ago | |
| symplify/coding-standard | 0.84 | Opinionated PHP coding standard with 23 fixers for clean, consistent, readable code—no config required. Designed to run with Symplify Easy Coding Standard (ECS); install via Composer and auto-fix formatting like arrays, strict types spacing, line length, and method chaining. | 381 | 383 | 25 | 80K | 0 | 10.3 | 27.5 | MIT | 1 month ago | |
| prettus/laravel-validation | 0.84 | Laravel package providing a reusable validation service via LaravelValidator classes. Define rules for create/update, customize error messages and attribute names, and throw ValidatorException when validation fails—handy for keeping validation logic organized outside controllers. | 406 | 420 | 88 | 195K | 21 | 31.3 | 51.6 | MIT | 2 months ago | |
| intervention/validation | 0.84 | — | 676 | 682 | 68 | 175K | 2 | 27.1 | 39.3 | MIT | 3 weeks ago | |
| korridor/laravel-model-validation-rules | 0.84 | — | 29 | 29 | 6 | 10K | 0 | 18.7 | 39.3 | MIT | 3 months ago | |
| milwad/laravel-validate | 0.84 | Enhanced Laravel validation with a large set of custom rule classes and helper methods for faster, cleaner advanced validation. Includes localization support and works with Laravel 9+ (PHP 8+), with community-contributed language packs. | 593 | 596 | 50 | 2K | 0 | 27.7 | 11.4 | MIT | 1 month ago | |
| sandermuller/laravel-fluent-validation | 0.84 | Type-safe, IDE-autocomplete Laravel validation rule builders. Create rules fluently without memorizing strings; each rule exposes only valid methods. Define nested array validation with each()/children(). Optional HasFluentRules trait speeds wildcard validation dramatically (up to 160x). | 214 | 211 | 2 | 9K | 0 | 32.1 | 25.9 | MIT | 2 weeks ago | |
| aaronadal/validator | 0.84 | Lightweight PHP/Laravel validation package providing a simple API to validate data against rules, collect errors, and customize messages. Useful for quick input checking in apps, forms, and APIs without heavy setup. | 0 | 0 | 0 | 24 | 0 | 3.0 | 19.3 | MIT | 5 years ago | |
| raditzfarhan/sahrule | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| kcs/phpstan-strict-rules | 0.84 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 41.7 | — | — | |
| ashallendesign/laravel-config-validator | 0.84 | Validate your Laravel config at runtime or via Artisan. Define rulesets for config files with custom messages and environment targeting, generate rulesets quickly, and optionally publish defaults. Catch missing/invalid config early in local, CI, or production. | 217 | 218 | 11 | 144K | 1 | 19.0 | 43.3 | MIT | 4 months ago |
How can I help you explore Laravel packages today?