2017 © Pedro Peláez
 

library validation

image

runner/validation

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 22 Versions
  • 20 % Grown

The README.md

Validation For FastD 3.0

使用

创建请求验证器, (*1)

use Runner\Validation\RequestValidatorInterface;

class OrderStoreRequestValidator implements RequestValidatorInterface
{
    public function rules()
    {
        return [
            'price' => 'required|numeric'
        ];
    }
}

配置绑定路由, (*2)

#file: config/config.php

return [
    'validation' => [
        'orders.store' => OrderStoreRequestValidator::class
    ],
];

The Versions

19/04 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

19/04 2018
19/04 2018
19/04 2018
24/01 2018
24/01 2018
24/01 2018
17/01 2018
17/01 2018

dev-analysis-qJm4Zo

dev-analysis-qJm4Zo

  Sources   Download

MIT

The Requires

 

The Development Requires

17/01 2018
15/01 2018
15/01 2018

v1.0.7

1.0.7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

14/12 2017

dev-develop

dev-develop

  Sources   Download

MIT

The Requires

 

The Development Requires

21/11 2017

v1.0.6

1.0.6.0

  Sources   Download

MIT

The Requires

 

The Development Requires

28/09 2017

v1.0.5

1.0.5.0

  Sources   Download

MIT

The Requires

 

The Development Requires

25/08 2017

v1.0.4

1.0.4.0

  Sources   Download

MIT

The Requires

 

The Development Requires

25/08 2017

dev-analysis-zdWZBJ

dev-analysis-zdWZBJ

  Sources   Download

MIT

The Requires

 

The Development Requires

10/07 2017

v1.0.3

1.0.3.0

  Sources   Download

MIT

The Requires

 

The Development Requires

25/04 2017

1.0.x-dev

1.0.9999999.9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires