Skip to content

arilia/cakephp-firebird-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP 3 Driver for Firebird Database

Currently provides data reading, inserting, deleting and updating.

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require mbamarante/cakephp-firebird-driver

Requirements

  • CakePHP 3.2+
  • an Firebird PHP extension

Datasource configuration

Here is an example datasource configuration:

'myfbconnection' => [
    'className' => 'Cake\Database\Connection',
    'driver' => 'CakephpFirebird\Driver\Firebird',
    'host' => '127.0.0.1',
    'port' => '3050',
    'username' => 'sysdba',
    'password' => 'masterkey',
    'database' => '/path-to-database/database.fdb',
    ]

Known Issues

  • disable multiple records insert in the same query (e.g.: fixtures)
  • disable auto increment fields on table creation
  • review data types
  • improve unit tests
  • unimplemented add and dropContraints, enable and disableForeignFeySQL

Workaround

  • use cake bake lowercase table name

About

CakePHP 3 Driver for Firebird Database

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%