承接 primal/databasepool 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

primal/databasepool

Composer 安装命令:

composer require primal/databasepool

包简介

Basic class for managing database configurations and active PDO links.

README 文档

README

#Primal Database Pool

Created and Copyright 2013 by Jarvis Badgley, chiper at chipersoft dot com.

Primal Database Pool is a basic class for managing database configurations and active PDO links from a central location. It offers an optional singleton interface for maintaining a global instance of the pool.

Primal is a collection of independent micro-libraries.

##Usage

###Adding a configuration

The class currently offers support for three database types:

  • addMySQL($name, $host, $username, $password[, $database[, $options[, $port]]])
  • addPostgrSQL($name, $host, $username, $password[, $database[, $options[, $port]]])
  • addSQLite($name, $database, $username[, $options])

$name is the name which will be used to retrieve the PDO object.

All of this functions are chainable.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-03