Download the PHP package pan-roman/ifx4dd-plus without Composer

On this page you can find all versions of the php package pan-roman/ifx4dd-plus. 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 ifx4dd-plus

Informix Platform for Doctrine DBAL

The Informix Platform for Doctrine DBAL gives support for Informix to Doctrine\DBAL the database abstraction layer of the Doctrine project.

DBAL versions supported

DBAL ifx4dd
master master Build Status
2.6 1.1 Build Status
2.5 1.0 Build Status

Informix versions supported

Tested on Informix Dynamic Server versions 11.70 and 12.10 (right now it's not tested on 11.50 but should work anyway).

INSTALL

If you don't already have the PDO_INFORMIX extension for PHP you need install it (see PDO_INFORMIX), make sure that the extension works correctly before continue, you can do a quick connection test to your Informix server using the next example

You also will need composer in order to install all the dependencies, if you don't have it install it first.

Install from the repository

Download the code of the Informix Platform for Doctrine DBAL or clone it with git . Move to the directory where you have the sources and install dependencies with composer

it will install Doctrine\DBAL under the vendor directory and will create an autoloader class that you can find in the vendor/autoload.php file. The autoloader will add the Informix Platform directories in first place so that you can use the Informix Platform specific versions of some of the DBAL classes.

Install with composer

Simply execute:

it will install the libraries under the vendor directory.

Getting a connection with Informix

If you don't have experience with DBAL please read first its documentation Doctrine\DBAL documentation

To create a connection you can use the modified version of the DriverManager of Doctrine\DBAL with comes with the Informix Platform or you can use the original DriverManager class of Doctrine\DBAL, in this last case you will need to specify the driver class to use.

Creating a connection with the modified version of the DriverManager

Ifx4dd comes with a modified version of the DriverManager class that adds pdo_informix as one of the possible drivers to use.

In this case, you need tell to composer that load the classes from the ifx4dd directory tree in first place (if you have installed ifx4dd from the composer.json what comes with ifx4dd it is not needed since the ifx4dd directory is added in first place to the autoloader).

Creating a connection with the original DriverManager of DBAL

If you want to use the 'Doctrine\DBAL\DriverManager' class what comes with DBAL you need to specify the driver class to use in the connection params as in the next example:

Creating a connection with a URL

Since DBAL 2.5 it is possible to use a URL to create the connection (note that in this case you must use the ifx4dd DriverManager version).

Please, refer to the DBAL documentation for more information: https://github.com/doctrine/dbal/blob/2.5/docs/en/reference/configuration.rst

Delimited identifiers

DBAL uses delimited identifiers so you need to enable it in your Informix environment, see enabling delimited identifiers.

Other documentation


All versions of ifx4dd-plus with dependencies

PHP Build Version
Package Version
Requires ext-pdo_informix Version >=1.3.1
doctrine/dbal Version ~2.5.2
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 pan-roman/ifx4dd-plus contains the following files

Loading the files please wait ....