2017 © Pedro Peláez
 

library sybase-database

A simple database package for Sybase/SAP ASE

image

tlangelani/sybase-database

A simple database package for Sybase/SAP ASE

  • Thursday, July 23, 2015
  • by tlangelani
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Sybase/SAP ASE Database

This package allows you to connect your PHP applications to Sybase/SAP ASE database., (*1)

This will assume you already installed PHP sybase_ct extension using Sybase client libraries or FreeTDS libraries., (*2)

Usage:


// add Sybase class to your project, you can use composer autoload as well require 'Sybase.php'; use Tlangelani\Database\Sybase; // initialize Sybase with credentials. // NB: DEV_HOST must be configured in your Sybase interfaces file, or freetds conf file. $sybase = new Sybase('DEV_HOST', 'DEV_DB', 'USER', 'PASS'); // list databases $dbs = $sybase->getDB(); // list database tables $tables = $sybase->getTables('live_db'); // list table columns $columns = $sybase->getTableColumns('users'); // run query $users = $sybase->query('SELECT * FROM users'); // run query with and return data as object $users = $sybase->query('SELECT * FROM users', 'OBJ');

The Versions

23/07 2015

dev-master

9999999-dev

A simple database package for Sybase/SAP ASE

  Sources   Download

The Requires

  • php >=5.3.0

 

database sybase sap sybase ase sap ase

23/07 2015

v1.0.0beta

1.0.0.0-beta

A simple database package for Sybase/SAP ASE

  Sources   Download

The Requires

  • php >=5.3.0

 

database sybase sap sybase ase sap ase

23/07 2015

v1.0.1

1.0.1.0

A simple database package for Sybase/SAP ASE

  Sources   Download

The Requires

  • php >=5.3.0

 

database sybase sap sybase ase sap ase