2017 © Pedro Peláez
 

library cakephp-3-oracle

Oracle datasource for CakePHP 3

image

snelg/cakephp-3-oracle

Oracle datasource for CakePHP 3

  • Tuesday, May 22, 2018
  • by snelg
  • Repository
  • 6 Watchers
  • 9 Stars
  • 903 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 4 Open issues
  • 22 Versions
  • 1 % Grown

The README.md

Oracle Datasource for CakePHP 3.x

This is an alpha version of an Oracle Datasource for CakePHP 3.0. Currently the only functionality is basic data reading; Inserting, deleting, and updating have only been tested minimally., (*1)

Installing via composer

Install into your project using composer. For existing applications you can add the following to your composer.json file:, (*2)

"require": {
    "snelg/cakephp-3-oracle": "~1.0"
}

And run php composer.phar update, (*3)

Defining a connection

Sample connection info:, (*4)

// in config/app.php
    'Datasources' => [
        // other datasources
        'my_oracle_db' => [
            'className' => 'Cake\Database\Connection',
            'driver' => 'Cake\Oracle\Driver\Oracle',
            /* 'host' => '', //Usually unused for Oracle connections */
            'username' => 'you know what goes here',
            'password' => 'and here',
            'database' => 'TNS entry name or full conn string, e.g. (DESCRIPTION=(ADDRESS_LIST=( [...] )))',
            'schema' => 'SCHEMA_NAME', //The schema that owns the tables, not necessarily your login schema
        ],
    ]

If your data tables are owned by a different schema than your login user, then make sure you put the table-owning schema name in the "schema" field instead of your login schema., (*5)

If you want to access data from multiple schemas, then you do not need multiple datasources. Instead, you can specify the schema in a Table's "initialize" function:, (*6)

class UsersTable extends Table
{
    public function initialize(array $config)
    {
        $this->table('some_other_schema.users');
    }
}

The Versions

22/05 2018

dev-master

9999999-dev

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

22/05 2018

1.1.0

1.1.0.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

22/05 2018

dev-cake3.6

dev-cake3.6

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

19/10 2016

1.0.18

1.0.18.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

12/05 2016

1.0.17

1.0.17.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

11/05 2016

1.0.16

1.0.16.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

07/04 2016

1.0.15

1.0.15.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

07/04 2016

1.0.14

1.0.14.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

07/04 2016

1.0.13

1.0.13.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

01/04 2016

1.0.12

1.0.12.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

02/03 2016

1.0.11

1.0.11.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

02/02 2016

1.0.10

1.0.10.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

28/01 2016

1.0.9

1.0.9.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

27/01 2016

1.0.8

1.0.8.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

25/01 2016

1.0.7

1.0.7.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

21/01 2016

1.0.6

1.0.6.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

11/11 2015

1.0.5

1.0.5.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

11/11 2015

1.0.4

1.0.4.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

11/11 2015

1.0.3

1.0.3.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

27/07 2015

1.0.2

1.0.2.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

23/07 2015

1.0.1

1.0.1.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

02/07 2015

1.0.0

1.0.0.0

Oracle datasource for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires