Laravel 5.6 compatibility
This commit is contained in:
parent
8e1c1c2e40
commit
ad191bbbe0
@ -17,7 +17,7 @@ It provides DB2 Connection by extending the Illuminate Database component of the
|
|||||||
Add laravel-db2 to your composer.json file:
|
Add laravel-db2 to your composer.json file:
|
||||||
```
|
```
|
||||||
"require": {
|
"require": {
|
||||||
"cooperl/laravel-db2": "~5.4"
|
"cooperl/laravel-db2": "~5.6"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Use [composer](http://getcomposer.org) to install this package.
|
Use [composer](http://getcomposer.org) to install this package.
|
||||||
@ -29,7 +29,7 @@ $ composer update
|
|||||||
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).
|
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).
|
||||||
|
|
||||||
Please check appropriate specific DSN parameters for your connection.
|
Please check appropriate specific DSN parameters for your connection.
|
||||||
For instance here are the ODBC keywords for IBMi
|
For instance here are the ODBC keywords for IBMi
|
||||||
https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_73/rzaik/connectkeywords.htm
|
https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_73/rzaik/connectkeywords.htm
|
||||||
|
|
||||||
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
|
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
|
||||||
@ -123,7 +123,7 @@ Simply add this code at the end of your ``app/config/database.php`` file:
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
```
|
```
|
||||||
driver setting can be:
|
driver setting can be:
|
||||||
- 'db2_ibmi_odbc' for IBMi ODBC connection
|
- 'db2_ibmi_odbc' for IBMi ODBC connection
|
||||||
- 'db2_ibmi_ibm' for IBMi PDO_IBM connection
|
- 'db2_ibmi_ibm' for IBMi PDO_IBM connection
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0.0",
|
"php": ">=7.1.3",
|
||||||
"laravel/framework": "5.5.*"
|
"laravel/framework": "5.6.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user