Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bangadam/laravel-validation
https://github.com/bangadam/laravel-validation
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bangadam/laravel-validation
- Owner: bangadam
- License: mit
- Created: 2023-03-25T14:28:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-01T07:59:10.000Z (11 months ago)
- Last Synced: 2024-01-01T09:26:46.882Z (11 months ago)
- Language: PHP
- Size: 8.76 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Laravel Validation
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