PHP Package: spatie/laravel-validation-rules

This PHP library provides additional validation rules for Laravel applications, enhancing data validation capabilities.

Current Version: 3.4.3
Last Updated: 2025-02-25
PHP Requirement: ^8.0
Dependencies:
illuminate/support
illuminate/validation
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Spatie's Laravel Validation Rules is a robust library that extends Laravel's validation functionality by adding new, useful rules. By integrating this library, developers can ensure more precise data validation, improving the overall quality and reliability of their Laravel applications. With a focus on simplicity and efficiency, these rules enhance the validation process, making it easier to enforce data integrity and prevent common errors. The library is actively maintained, ensuring compatibility with the latest Laravel versions and best practices in web development.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.4.3

Download Download v3.4.3

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-validation-rules/3.4.3/loader.php';
require_once 'libs/illuminate/support/12.18.0/loader.php';
require_once 'libs/illuminate/validation/12.18.0/loader.php';

use Illuminate\Validation\Validator;

$obj = new Validator();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.