coka/input-handler-bundle

验证器自定义约束

1.5.1 2023-06-29 13:05 UTC

This package is auto-updated.

Last update: 2024-09-29 15:55:41 UTC


README

此扩展包帮助用户将高质量数据输入到您的Web服务REST中。

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads Travis CI

安装

确保已全局安装Composer,如Composer文档中的安装章节所述。

使用Symfony Flex的应用程序

打开命令行,进入项目目录,执行以下命令

$ composer require coka/input-handler-bundle

不使用Symfony Flex的应用程序

步骤 1: 下载扩展包

打开命令行,进入项目目录,并执行以下命令以下载此扩展包的最新稳定版本

$ composer require coka/input-handler-bundle

步骤 2: 启用扩展包

然后,通过将其添加到项目config/bundles.php文件中注册的扩展包列表来启用扩展包

// config/bundles.php

return [
    // ...
    Oka\\InputHandlerBundle\OkaInputHandlerBundle::class => ['all' => true],
];