mtarld/json-encoder-bundle

一个提供强大方法将数据结构编码/解码为JSON的Symfony Bundle。

安装: 21

依赖者: 1

建议者: 0

安全: 0

星标: 10

关注者: 1

分支: 1

开放问题: 0

类型:symfony-bundle

0.1.1 2024-03-22 09:17 UTC

This package is auto-updated.

Last update: 2024-09-22 10:27:08 UTC


README

一个使JsonEncoder组件的PR代码可用的Bundle。

安装

使用Symfony Flex的应用程序

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

$ composer require mtarld/json-encoder-bundle

不使用Symfony Flex的应用程序

步骤1:下载Bundle

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

$ composer require mtarld/json-encoder-bundle

步骤2:启用Bundle

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

// config/bundles.php

return [
    // ...
    Mtarld\JsonEncoderBundle\JsonEncoderBundle::class => ['all' => true],
];