Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bangadam/laravel-validation


https://github.com/bangadam/laravel-validation

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        


Laravel Validation

 


Laravel Validation


Github top language

Github language count

Repository size

License

Github issues

Github forks

Github stars


About   |  
Features   |  
Technologies   |  
Requirements   |  
How to use   |  
License   |  
Author


## :dart: About

Laravel Validation is a package for Laravel developers that provides an easy-to-use, powerful validation system. It allows you to quickly and easily validate user input, ensuring data integrity and accuracy.

## :sparkles: Features

:heavy_check_mark: Easy to use;\
:heavy_check_mark: Powerful validation system;\
:heavy_check_mark: Quickly and easily validate user input;

## :rocket: Technologies

The following tools were used in this project:

- [PHP](https://www.php.net/)
- [Composer](https://getcomposer.org/)

## :white_check_mark: Requirements

Before starting :checkered_flag:, you need to have [Git](https://git-scm.com), [PHP](https://www.php.net/), and [Composer](https://getcomposer.org/) installed.

## :checkered_flag: How to use

```php
use Bangadam\LaravelValidation\Rules\ValidEmail;

return [
'email' => ['required', 'string', new ValidEmail()],
];

```

## :checkered_flag: Rules

| Rule name | Description |
| ------------------- | -------------------------------------------------------------------- |
| ValidEmail | Validate email address for email |
| ValidUsername | Validate username for username (alphanumeric, underscore, dash, dot) |
| ValidUuid | Validate uuid for uuid |
| ValidStrongPassword | Validate strong password for password |
| ValidSlug | Validate slug for slug |
| ValidUrl | Validate url for url |
| ValidIp | Validate ip for ip |
| ValidPhoneNumber | Validate phone number for phone number |
| ValidJwt | Validate jwt for jwt |
| ValidBirthDate | Validate birth date for birth date (can't be in future) |

## :memo: License

This project is under license from MIT. For more details, see the [LICENSE](LICENSE.md) file.

Made with :heart: by bangadam

 

Back to top