Skip to content

Commit c614268

Browse files
committed
MAJ README
1 parent 8ee8a02 commit c614268

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,17 @@ Use [composer](https://getcomposer.org) to install this package.
2525
$ composer update
2626
```
2727

28-
### Configuration
29-
There are two ways to configure laravel-db2. You can choose the most convenient way for you. You can put your DB2 credentials into ``app/config/database.php`` (option 1) file or use package config file which you can generate through command line by artisan (option 2).
28+
### Database Configuration
29+
There are two ways to configure laravel-db2. You can choose the most convenient way for you. You can put your DB2 credentials into ``config/database.php`` (option 1) file or use package config file which you can generate through command line by artisan (option 2).
3030

3131
Please check appropriate specific DSN parameters for your connection.
3232
For instance here are the ODBC keywords for IBMi
3333
https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_74/rzaik/connectkeywords.htm
3434

35-
If you encounter issues with char fields containing characters outside the invariant character set (for example: "ü") please see : https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014094907
36-
For PHP applications using the UTF8 locale the workaround to prevent the extra garbage data is to set the following connection string keyword:
37-
DEBUG = 65536
35+
If you encounter issues with char fields containing characters outside the invariant character set (for example: "ü") in PHP applications using the UTF8 locale the workaround to prevent the extra garbage data is to set the following connection string keyword: ``DEBUG = 65536``
3836

39-
#### Option 1: Configure DB2 using ``app/config/database.php`` file
40-
Simply add this code at the end of your ``app/config/database.php`` file:
37+
#### Option 1: Configure DB2 using ``config/database.php`` file
38+
Simply add this code at the end of your ``config/database.php`` file:
4139

4240
```php
4341
/*
@@ -141,9 +139,13 @@ Run on the command line from the root of your project:
141139
$ php artisan vendor:publish
142140
```
143141

144-
Set your laravel-db2 credentials in ``app/config/db2.php``
142+
Set your laravel-db2 credentials in ``config/db2.php``
145143
the same way as above
146144

145+
### Queue Configuration
146+
Simply set database connection driver value to ``'db2_odbc'`` in ``config/queue.php`` file:
147+
148+
147149
## Usage
148150

149151
Consult the [Laravel framework documentation](https://laravel.com/docs).

0 commit comments

Comments
 (0)