Download the PHP package misuoka/ocipdo without Composer

On this page you can find all versions of the php package misuoka/ocipdo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ocipdo

ocipdo

基于 OCI API 封装的 Oracle PDO 数据库驱动

说明

由于官方很久没有对 PDO_OCI 更新了,其驱动源码默认不支持 Oracle 11g 及以上版本的数据库。当然也可在编译前修改 config.m4 文件使之支持,但安装之后,PDO_OCI 使用中却存在问题,如果数据库中存储中文,查询后会出现字符截断,无法得到预期的结果。

本库使用基于 OCI API 封装的 PDO 接口数据库驱动 misuoka\ocipdo,用来对 Oracle 数据库进行操作。

有关 PDO_OCI 字符截断问题的链接:https://my.oschina.net/startphp/blog/195333

使用方法

使用前提

你的运行环境已经安装了 oci 驱动

安装方法可参考:

  1. Windows 环境下 https://blog.csdn.net/luodong1983/article/details/79986180
  2. Linux 环境下 https://gist.github.com/hewerthomn/81eea2935051eb2500941a9309bca703

安装 ocipdo

使用 composer 进行安装 composer require misuoka/ocipdo

注意事项

由于 Oracle 数据库中有 CLOB 和 BLOB 字段,CLOB 是存储文本大对象,BLOB 是存储二进制大对象,在 OCI 中二者对应的数据类型不一样:

而 PDO 的预定义常量中,只有 PDO::PARAM_LOB 是对大对象数据的类型定义,无法区分用户要写入的数据字段是 CLOB 还是 BLOB,故本驱动 misuoka\ocipdo 进行了如下设定:


All versions of ocipdo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package misuoka/ocipdo contains the following files

Loading the files please wait ....