williarin/wordpress-interop-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

williarin/wordpress-interop-bundle

最新稳定版本:1.3.0

Composer 安装命令:

composer require williarin/wordpress-interop-bundle

包简介

Symfony bundle to integrate williarin/wordpress-interop in the framework

README 文档

README

Introduction

This bundle integrates williarin/wordpress-interop with Symfony.

Installation

composer require williarin/wordpress-interop-bundle

Configuration

# config/packages/doctrine.yaml
doctrine:
    dbal:
        connections:
            my_dbal_connection:
                driver: pdo_mysql
                url: '%env(resolve:WORDPRESS_DATABASE_URL)%'
                charset: UTF8
# config/packages/williarin_wordpress_interop.yaml
williarin_wordpress_interop:
    # default_entity_manager:  # defaults to the first defined entity manager
    entity_managers:
        my_entity_manager:
            connection: my_dbal_connection
            # tables_prefix: custom_ # defaults to 'wp_'
            
        # another_manager:
        #     connection: my_other_dbal_connection
        #     # tables_prefix: custom_

Autowiring

  • Williarin\WordpressInterop\ManagerRegistryInterface to access all your managers and repositories.
  • Williarin\WordpressInterop\EntityManagerInterface to get the default entity manager
  • Williarin\WordpressInterop\Persistence\DuplicationServiceInterface to get the default duplication service
  • wordpress_interop.entity_manager as an alternative to Williarin\WordpressInterop\EntityManagerInterface

License

MIT

Copyright (c) 2022, William Arin

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固