laravel-awesome-validation maintained by phu1237
Laravel Awesome Validation
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.