Download the PHP package ajaykushwaha111/laravel-validation-generator without Composer
On this page you can find all versions of the php package ajaykushwaha111/laravel-validation-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ajaykushwaha111/laravel-validation-generator
More information about ajaykushwaha111/laravel-validation-generator
Files in ajaykushwaha111/laravel-validation-generator
Package laravel-validation-generator
Short Description Generate Laravel FormRequest validation rules from database schema.
License MIT
Informations about the package laravel-validation-generator
Laravel Validation Generator
๐ Automatically generate Laravel FormRequest validation rules directly from your database schema โ and optionally sync model $fillable properties.
โจ Features
- ๐ Generate Store & Update FormRequest classes
- ๐ง Smart schema-based validation rule detection
- ๐ Auto-detect
uniqueindexes - ๐ Auto-detect foreign keys (
existsrules) - ๐งพ Enum rule detection
- ๐งฉ UUID / ULID support
- ๐ฆ Automatically sync model
$fillable - โก Supports Laravel 10, 11, 12
- ๐ Fully configurable via config file
๐ฆ Installation
Install via Composer:
Publish configuration (optional):
๐ Usage
Generate validation for all tables
Generate for specific table
Overwrite existing request files
Generate only Store request
Generate only Update request
๐ง Example Output
Migration
Generated Store Request
๐งฑ Model $fillable Sync
If your model does not contain $fillable, it will automatically be generated:
If $fillable already exists, it will not be modified.
โ Configuration
Configuration file:
You can customize:
- Skipped tables
- Skipped columns
- Smart field name rules
- Type mapping logic
- Custom rule detection behavior
๐งฉ Supported Schema Types
string,char,text,longTextinteger,bigInteger,smallIntegerdecimal,float,doublebooleandate,datetime,timestamptimeyearjsonenumuuidulid- foreign keys
- unique indexes
๐ก Requirements
- PHP 8.2+
- Laravel 10 / 11 / 12
๐ License
This package is open-sourced software licensed under the MIT license.
๐ค Contributing
Contributions are welcome.
If you discover bugs or have feature suggestions, feel free to open an issue or submit a pull request.
โญ Support
If you find this package useful, consider starring the repository on GitHub.
All versions of laravel-validation-generator with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0