halloverden/symfony-response-entity-bundle

Symfony Response Entity Bundle

1.6.0 2024-09-23 08:51 UTC

README

安装

确保全局已安装Composer,具体请参阅Composer文档中的安装章节

使用Symfony Flex的应用程序

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

$ composer require halloverden/symfony-response-entity-bundle

不使用Symfony Flex的应用程序

步骤 1: 下载Bundle

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

$ composer require halloverden/symfony-response-entity-bundle

步骤 2: 启用Bundle

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

// config/bundles.php

return [
    // ...
    HalloVerden\ResponseEntityBundle\HalloVerdenResponseEntityBundle::class => ['all' => true],
];