PHP code example of uzbek / laravel-validation-attributes

1. Go to this page and download the library: Download uzbek/laravel-validation-attributes library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

uzbek / laravel-validation-attributes example snippets


return [
    'enabled' => true,
    'cache_name' => 'laravel-validation-attributes',
    'cache_time' => 10,
    'directories' => [
        app_path('Http/Controllers'),
    ],
];

Uzbek\LaravelValidationAttributes\ValidationAttributesMiddleware::class
bash
php artisan vendor:publish --tag="laravel-validation-attributes-config"