spatie/laravel-validation-rules
Handy Laravel validation rules by Spatie: Authorized (policy checks), CountryCode, Currency, Enum, ModelsExist, and Delimited. Installs via Composer, auto-registers, and supports publishing translations for customization.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-html | 0.92 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 569K | 0 | 22.4 | 41.2 | MIT | 8 months ago | |
| spatie/laravel-options | 0.92 | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 252 | 255 | 9 | 15K | 0 | 13.5 | 26.6 | MIT | 7 months ago | |
| spatie/laravel-visit | 0.87 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.2 | 10.9 | MIT | 7 months ago | |
| scafera/file | 0.87 | Scafera File is a Laravel package for handling file uploads and storage with a simple, consistent API. It helps manage validation, disk configuration, and file lifecycle tasks so you can add reliable file management to your app quickly. | 0 | — | 0 | — | 0 | 9.2 | — | MIT | 6 months ago | |
| craftcms/laravel-ruleset-validation | 0.86 | Validate Laravel request data against Craft CMS field rulesets. Map Craft-style constraints (required, min/max, regex, etc.) into Laravel’s validator, keeping validation logic consistent between Craft and Laravel apps. | 2 | 2 | 0 | 8K | 0 | 15.4 | 52.8 | MIT | 6 months ago | |
| respect/validation | 0.86 | Respect\Validation is a PHP validation engine offering over 150 fully tested validators. Chain rules fluently, as in v::numericVal()->positive()->between(1, 255)->isValid($input), with advanced exception handling and clear documentation. | 6,035 | 6,153 | 773 | 828K | 10 | 68.4 | 42.4 | MIT | 3 months ago | |
| spatie/laravel-support-form | 0.86 | Add a non-intrusive Tailwind-styled support chat bubble to any Laravel page. Opens a support form, auto-fills user info when logged in, includes URL/IP metadata, honeypot spam protection, and is easily customizable via views, translations, and events. | 395 | 396 | 26 | 0 | 0 | 17.1 | — | MIT | 8 months ago | |
| spatie/laravel-data | 0.86 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| theriddleofenigma/laravel-model-validation | 0.86 | Declare validation rules directly on your Eloquent models and have them run automatically on the events you choose, such as saving, creating, or updating. Invalid saves throw Laravel's ValidationException, so no form requests or repeated validator calls are needed. | 33 | 34 | 5 | 2K | 0 | 17.0 | 26.6 | MIT | 3 months ago | |
| saritasa/laravel-fluent-validation | 0.85 | A Laravel package that adds fluent, chainable validation rule builders, letting you define complex validation logic in expressive PHP instead of long arrays or strings. It simplifies custom rules and keeps validators readable, reusable, and easy to maintain. | 8 | 9 | 7 | 4K | 1 | 0.2 | 25.4 | MIT | 2 years ago | |
| spatie/laravel-model-info | 0.85 | Inspect Laravel Eloquent models to discover their file name, table name, attributes (name/type) and relations (name/type/related model). Also includes a ModelFinder to automatically locate all models in your application. | 182 | 183 | 23 | 44K | 0 | 14.8 | 34.7 | MIT | 8 months ago | |
| spatie/boost-spatie-guidelines | 0.85 | AI-optimized Spatie coding guidelines for Laravel Boost. Installs battle-tested Laravel & PHP standards into your .ai/guidelines folder so AI assistants generate PSR-compliant, convention-driven code (types, naming, control flow, testing) automatically. | 109 | 109 | 3 | 96K | 0 | 8.2 | 43.0 | MIT | 8 months ago | |
| watson/validating | 0.85 | — | 970 | 978 | 77 | 101K | 12 | 10.8 | 32.0 | MIT | — | |
| maize-tech/laravel-remote-rule | 0.85 | Laravel Remote Rule lets you delegate field validation to a remote HTTP endpoint, turning its JSON response into standard validation errors. Share validation logic across services and apps without duplicating rules in every codebase. | 29 | — | 3 | — | 0 | 0.9 | 0.8 | MIT | 2 years ago | |
| willvincent/laravel-unique | 0.85 | willvincent/laravel-unique provides a simple trait for generating unique values on Eloquent models, making it easy to assign distinct IDs, codes, or tokens to records with minimal configuration in any Laravel application. | 57 | — | 2 | — | 1 | 0.6 | 0.4 | MIT | 1 year ago | |
| scafera/form | 0.85 | Scafera Form is a Laravel package for defining, validating, and rendering forms with a clean, expressive API. Build reusable form schemas, keep field logic organized, and integrate forms into your app without repetitive boilerplate. Lightweight and easy to extend. | 0 | — | 0 | — | 0 | 9.2 | — | MIT | 6 months ago | |
| padosoft/laravel-validable | 0.85 | A Laravel package that adds model-level validation via a Validable trait. Define rules and messages directly on Eloquent models and validate automatically before save or update, keeping persistence logic cleaner and data safer. | 7 | 7 | 2 | 623 | 0 | 0.7 | 26.6 | MIT | 3 years ago | |
| nilportugues/assert | 0.84 | A lightweight PHP assertion library for validating values and enforcing invariants. It provides expressive, chainable assertions that fail with clear exceptions, helping you catch invalid input early and make code contracts explicit and easy to read. | 10 | — | 3 | — | 0 | 0.1 | — | — | 10 years ago |
|
| korridor/laravel-model-validation-rules | 0.84 | — | 29 | 29 | 6 | 17K | 1 | 12.8 | 41.6 | MIT | 6 months ago | |
| spatie/laravel-enum | 0.84 | Laravel integration for spatie/enum: use Enum base class in Laravel, cast model attributes to enums (including nullable and arrays), and get Laravel-friendly behavior via custom casts and Castable support for Eloquent. | 364 | 367 | 37 | 215K | 0 | 11.3 | 38.3 | MIT | 1 year ago |
How can I help you explore Laravel packages today?