定制 sbooker/doctrine-object-mapping-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sbooker/doctrine-object-mapping-bundle

Composer 安装命令:

composer require sbooker/doctrine-object-mapping-bundle

包简介

Doctrine object types mapping support

README 文档

README

Latest Version Software License PHP Version Total Downloads

Maps immutable object and object list to single json field.

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Step 1: Download library

$ composer require sbooker/doctrine-object-mapping-bundle 

Step 2: Enable the Bundle (skip this step if your project use Symfony Flex)

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Sbooker\DoctrineObjectMappingBundle\SbookerDoctrineObjectMappingBundle::class => ['all' => true],
];

Step 3: Customize normalizer/denormalizer (skip this step if not needed)

# config/packages/sbooker_doctrine_object_mapping.yaml

sbooker_doctrine_object_mapping:
      normalizer: your.normalizer.service
      denormalizer: your.denormalizer.service

Step 4: Declare Doctrine types

See sbooker/doctrine-object-mapping documentation.

Step 5: Register Doctrine types

See symfony/doctrine-bundle documentation.

License

See LICENSE file.

统计信息

  • 总下载量: 4.52k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固