Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-validation-rules/subdomain
Validate a subdomain for your saas application
https://github.com/laravel-validation-rules/subdomain
laravel php subdomain validation
Last synced: 3 months ago
JSON representation
Validate a subdomain for your saas application
- Host: GitHub
- URL: https://github.com/laravel-validation-rules/subdomain
- Owner: laravel-validation-rules
- License: apache-2.0
- Created: 2018-03-10T13:40:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T12:39:35.000Z (7 months ago)
- Last Synced: 2024-07-22T15:01:35.407Z (4 months ago)
- Topics: laravel, php, subdomain, validation
- Language: PHP
- Homepage:
- Size: 157 KB
- Stars: 28
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Subdomain
Validates a user submitted subdomain in your application.
Supports Laravel: 5.5, 5.6, 5.7 & 5.8
## Installation
```bash
composer require laravel-validation-rules/subdomain
```## Usage
```php
use LVR\Subdomain\Subdomain;$request->validate([
'domain' => ['required', new Subdomain],
]);
```