Skip to content

johanvanderkuijl/simple-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect with CakePHP 3 to Oracle

This is a very lightweight solution to connect to an Oracle Database using OCI8.

Installing via composer:

composer require rubyan/simple-oracle:dev-master

Example usage in CakePHP 3

    $config['host'] = 'localhost';
    $config['username'] = 'demo';
    $config['password'] = 'demo';
    $config['port'] = 1521;
    $config['instance_name'] = 'xe';
    $config['charset'] = 'UTF8';

    $db = new \Rubyan\Oracle\Oracle($config);   
    $sql = 'SELECT * FROM HR.JOBS';
    $db->execute($sql);

About

Simple class to connect to a Oracle database using OCI8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages