ecohead/symfony-form-generator-bundle

一组通过链式方法而不是普通数组来创建表单类型的方法。

dev-main 2024-03-14 19:15 UTC

This package is auto-updated.

Last update: 2024-09-14 20:25:27 UTC


README

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

使用Symfony Flex的应用程序

打开命令行控制台,进入您的项目目录并执行

composer require ecohead/symfony-form-generator-bundle

未使用Symfony Flex的应用程序

步骤1:下载Bundle

打开命令行控制台,进入您的项目目录并执行以下命令以下载此Bundle的最新稳定版本

composer require ecohead/symfony-form-generator-bundle

步骤2:启用Bundle

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

// config/bundles.php

return [
    // ...
    Ecohead\FormGeneratorBundle\EcoheadFormGeneratorBundle::class => ['all' => true],
];