定制 derekchan/pg-php 二次开发

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

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

derekchan/pg-php

最新稳定版本:0.0.1

Composer 安装命令:

composer require derekchan/pg-php

包简介

An implementation of the Postgres TCP protocol in pure PHP

README 文档

README

A pure PHP PostgreSQL connector that works - sometimes you just need a quick and dirty way to connect to PostgreSQL, but for any reasons you do not have access to the native driver, and you do not care about performance.

Currently only works in Linux / UNIX-like environment as it depends on "/usr/bin/hexdump"

Usage

See examples.php

Installation

composer require derekchan/pg-php

From the original author (@BraveSirRobin)

Development status

Development status : Toy. Works for me, and it supports the protocol COPY command too, which is nice.

Motivation

I wrote this library as a proof of concept and to learn a bit more about different TCP protocols. The main (only?) reason for wanting to do this is to be able to write an "Event Machine" / "Twisted" type of server where you can do asynchronous I.O. to several different kinds of application endpoint, e.g. RabbitMQ, Postgres, MySql, HTTP, etc. etc.

Future

Currently, and for the forseeable future I'll be devoting my "open source" time to my Amqphp project, but eventually I'd like to expand this to be a fast, fully asyncronous, PHP-implemented "business process server".

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL
  • 更新时间: 2015-08-07