Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Sep 26, 2020
0 parents commit 65a046c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# WP Validation

Extends the PHP Validation package to provide WordPress specific validation rules.
31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "ignitekit/wp-validation",
"description": "Laravel inspired validation package for WordPress",
"license": "MIT",
"authors": [
{
"email": "[email protected]",
"name": "Darko Gjorgjijoski"
}
],
"autoload": {
"psr-4": {
"IgniteKit\\WP\\Validation\\": "src"
}
},
"require": {
"php": ">=7.0",
"ignitekit/validation" : "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"squizlabs/php_codesniffer": "^3"
},
"scripts": {
"test": [
"phpunit",
"phpcs"
]
}
}
11 changes: 11 additions & 0 deletions src/Validator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace IgniteKit\WP\Validation;

use IgniteKit\Validation\Validator as BaseValidator;

/**
* Class Validator
* @package IgniteKit\WP\Validation
*/
class Validator extends BaseValidator { }

0 comments on commit 65a046c

Please sign in to comment.