phu1237 / laravel-awesome-validation
Collection of useful Traits, etc for Laravel Validation
1.0.5
2025-01-24 14:31 UTC
Requires
- php: ^8.2
Requires (Dev)
- orchestra/testbench: ^9.9
- pestphp/pest: ^3.7
- pestphp/pest-plugin-laravel: ^3.0
This package is auto-updated.
Last update: 2025-02-24 14:43:23 UTC
README
Collection of useful Traits, etc for Laravel Validation
Content table
Installation
- Require this package with composer:
composer require phu1237/laravel-awesome-validation
Laravel auto-discovery
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Laravel without auto-discovery
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php:
Phu1237\AwesomeValidation\ServiceProvider::class,
- Done. You can use all functions now.
Usage
Command
Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="Phu1237\AwesomeValidation\ServiceProvider" --tag=config
License
The Laravel Awesome Validation is open-sourced software licensed under the MIT license.