|
1 | | -Firebird Extension for Yii 2 |
2 | | -========================== |
3 | | - |
4 | | -This extension adds [Firebird](http://www.firebirdsql.org/) database engine extension for the [Yii framework 2.0](http://www.yiiframework.com). |
5 | | - |
6 | | -[](https://travis-ci.org/edgardmessias/yii2-firebird) |
7 | | -Requirements |
8 | | ------------- |
9 | | - |
10 | | -At least Firebird version 2.0 is required. However, in order to use all extension features. |
11 | | - |
12 | | -Unsupported |
13 | | ------------- |
14 | | - |
15 | | -Functions not supported by the Firebird database: |
16 | | - |
17 | | - * Rename Table |
18 | | - * Check Integrity |
19 | | - * BLOB data type - [See this bug](https://bugs.php.net/bug.php?id=61183) |
20 | | - |
21 | | -Installation |
22 | | ------------- |
23 | | - |
24 | | -The preferred way to install this extension is through [composer](http://getcomposer.org/download/). |
25 | | - |
26 | | -Either run |
27 | | - |
28 | | -``` |
29 | | -php composer.phar require --prefer-dist "edgardmessias/yii2-firebird:*" |
30 | | -``` |
31 | | - |
32 | | -or add |
33 | | - |
34 | | -```json |
35 | | -"edgardmessias/yii2-firebird": "*" |
36 | | -``` |
37 | | - |
38 | | -to the require section of your composer.json. |
39 | | - |
40 | | - |
41 | | -Configuration |
42 | | -------------- |
43 | | - |
44 | | -To use this extension, simply add the following code in your application configuration: |
45 | | - |
46 | | -```php |
47 | | -return [ |
48 | | - //.... |
49 | | - 'components' => [ |
50 | | - 'db' => [ |
51 | | - 'class' => 'edgardmessias\db\firebird\Connection', |
52 | | - 'dsn' => 'firebird:dbname=localhost:/tmp/TEST.FDB;charset=ISO8859_1', |
53 | | - 'username' => 'username', |
54 | | - 'password' => 'password', |
55 | | - ], |
56 | | - ], |
57 | | -]; |
58 | | -``` |
| 1 | +Firebird Extension for Yii 2 |
| 2 | +========================== |
| 3 | + |
| 4 | +This extension adds [Firebird](http://www.firebirdsql.org/) database engine extension for the [Yii framework 2.0](http://www.yiiframework.com). |
| 5 | + |
| 6 | +[](http://www.yiiframework.com/) |
| 7 | +[](https://travis-ci.org/edgardmessias/yii2-firebird) |
| 8 | +[](https://www.versioneye.com/php/edgardmessias:yii2-firebird/dev-master) |
| 9 | +[](https://www.versioneye.com/php/edgardmessias:yii2-firebird/references) |
| 10 | + |
| 11 | +Requirements |
| 12 | +------------ |
| 13 | + |
| 14 | +At least Firebird version 2.0 is required. However, in order to use all extension features. |
| 15 | + |
| 16 | +Unsupported |
| 17 | +------------ |
| 18 | + |
| 19 | +Functions not supported by the Firebird database: |
| 20 | + |
| 21 | + * Rename Table |
| 22 | + * Check Integrity |
| 23 | + * BLOB data type - [See this bug](https://bugs.php.net/bug.php?id=61183) |
| 24 | + |
| 25 | +Installation |
| 26 | +------------ |
| 27 | + |
| 28 | +The preferred way to install this extension is through [composer](http://getcomposer.org/download/). |
| 29 | + |
| 30 | +Either run |
| 31 | + |
| 32 | +``` |
| 33 | +php composer.phar require --prefer-dist "edgardmessias/yii2-firebird:*" |
| 34 | +``` |
| 35 | + |
| 36 | +or add |
| 37 | + |
| 38 | +```json |
| 39 | +"edgardmessias/yii2-firebird": "*" |
| 40 | +``` |
| 41 | + |
| 42 | +to the require section of your composer.json. |
| 43 | + |
| 44 | + |
| 45 | +Configuration |
| 46 | +------------- |
| 47 | + |
| 48 | +To use this extension, simply add the following code in your application configuration: |
| 49 | + |
| 50 | +```php |
| 51 | +return [ |
| 52 | + //.... |
| 53 | + 'components' => [ |
| 54 | + 'db' => [ |
| 55 | + 'class' => 'edgardmessias\db\firebird\Connection', |
| 56 | + 'dsn' => 'firebird:dbname=localhost:/tmp/TEST.FDB;charset=ISO8859_1', |
| 57 | + 'username' => 'username', |
| 58 | + 'password' => 'password', |
| 59 | + ], |
| 60 | + ], |
| 61 | +]; |
| 62 | +``` |
0 commit comments