定制 thecodingmachine/dbal-universal-module 二次开发

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

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

thecodingmachine/dbal-universal-module

Composer 安装命令:

composer require thecodingmachine/dbal-universal-module

包简介

Cross-framework module for doctrine/dbal

README 文档

README

This package integrates Doctrine DBAL in any container-interop compatible framework/container.

Installation

composer require thecodingmachine/dbal-universal-module

Once installed, you need to register the TheCodingMachine\DbalServiceProvider into your container.

If your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.

Introduction

This service provider is meant to provide one connection to your database. If you need more than one connection to your database, please configure your container directly.

Expected values / services

This service provider expects the following configuration / services to be available:

Name Compulsory Description
dbal.host no The database host. Defaults to localhost
dbal.user no The database user. Defaults to root
dbal.password no The database password. Defaults to empty
dbal.port no The database port. Defaults to 3306
dbal.dbname yes The database name.
dbal.charset no The database character set.
dbal.driverOptions no An array of driver options. Defaults to [1002 =>"SET NAMES utf8"]
dbal.params no An array of parameters directly passed to the Connection object. If this parameter is set, all parameters above are ignored.
Doctrine\DBAL\Driver no The DBAL driver to use to create the connection. Defaults to DBAL's PDO_MySQL Driver service

Provided services

This service provider provides the following services:

Service name Description
Doctrine\DBAL\Connection A DBAL connection to your database

Extended services

This service provider does not extend any service.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固