Skip to content

Commit

Permalink
Merge pull request #14 from robsontenorio/master
Browse files Browse the repository at this point in the history
Upgrade dependencies and fix compatibility
  • Loading branch information
jeandormehl authored Nov 11, 2019
2 parents a521b06 + dfc06a9 commit 82f49cc
Show file tree
Hide file tree
Showing 10 changed files with 736 additions and 411 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php

php:
- 7.1
- 7.2
- 7.3

before_script:
- composer install --no-interaction
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# InterSystems Caché provider for Laravel 5 (ODBC)
# InterSystems Caché provider for Laravel 5 & 6 (ODBC)

[![Build Status](https://travis-ci.org/jeandormehl/laracache.svg?branch=master)](https://travis-ci.org/jeandormehl/laracache)
![GitHub](https://img.shields.io/github/license/jeandormehl/laracache.svg)
<p>
<img src="https://img.shields.io/packagist/l/jeandormehl/laracache" />
<img src="https://img.shields.io/travis/jeandormehl/laracache" />
<img src="https://img.shields.io/packagist/v/jeandormehl/laracache.svg" />
<img src="https://img.shields.io/packagist/dt/jeandormehl/laracache.svg" />
</p>

## Laracaché

Expand Down Expand Up @@ -68,7 +72,7 @@ This will copy the configuration file to `config/isc.php`.
```

## ODBC Drivers for Caché
You will need to ensure that you have the relevant ODBC drivers installed. For Linux distributions I recommended using the unixODBC driver, in specific, **libcacheodbcur6435.so for 64-bit.
You will need to ensure that you have the relevant ODBC drivers installed. For Linux distributions I recommended using the unixODBC driver, in specific, **`libcacheodbcur6435.so`** for 64-bit. If you have any trouble try to switch to **`libcacheodbcur64.so`**.

### unixODBC
Download, untar and build the unixODBC package. This example uses version 2.3.7.
Expand Down Expand Up @@ -157,6 +161,10 @@ For Windows, setup the ODBC data source in Administrative Tools and set the `win
## Test
Check out the [tests](https://github.com/jeandormehl/laracache/tree/master/tests) directory for grammar and connection tests.

```bash
./vendor/bin/phpunit
```

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
}
],
"require": {
"php": "^7.2",
"illuminate/support": "^5.0|^6.0",
"illuminate/database": "^5.0|^6.0"
"php": "^7.2|^7.3",
"illuminate/database": "^5.0|^6.0",
"illuminate/support": "^5.0|^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.13",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0",
"squizlabs/php_codesniffer": "^3.3"
"friendsofphp/php-cs-fixer": "^2.13|^2.16",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^7.0|^8.4",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
Expand All @@ -48,4 +48,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
Loading

0 comments on commit 82f49cc

Please sign in to comment.