Skip to content

Commit

Permalink
v0.0.7 see changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc A Hester committed Sep 3, 2016
1 parent e701b12 commit d567476
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 118 deletions.
32 changes: 26 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,31 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased][unreleased]
### Added
- Figure out a way to duplicate sqlsrv_field_metadata().
- Figure out a way to duplicate sqlsrv_cancel() ```$stmt = null```?
- Figure out a way to duplicate sqlsrv_cancel()

### Changed
- Make client_info() more reliable.
- Figure out how/why sqlsrv's PHPTYPE_STR(EAM|ING) function return values are randomly wrong. When wrong, they are always the same wrong values.
- Make client_info() less reliant on external utils.
- Figure out how/why sqlsrv's PHPTYPE_STR(EAM|ING) function return values are randomly different. Though, when they are different, they are always the same different values.
- figure out how to retrieve client_info for dblib. test odbc functions... those utils may not be installed with unixodbc.

## [0.0.4] -
## [0.0.7] - 2016-08-25
### Added
- dblib/sybase driver option (and made default) due to simpler setup.

### Changed
- lowercase'd sqlshim classname and radsectors namespace. not sure why I camelcase'd them to begin with.
- made sqlshim class final.
- dynamicized the definition of SQLSRV constants.
- various other small updates and improvements.
- changed the way client_info retrieval functions are organized and accessed.

### Fixed
- bug where prepare() options were not being processed at all. oops.

### Removed
- ?-to-:tag conversion in prepare as it was highly unnecessary

## [0.0.4] - 2015-09-21
### Added
- option parsing for prepare()
- connection ref variable.
Expand Down Expand Up @@ -45,6 +63,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added
- First alpha release.

[unreleased]: https://github.com/radsectors/sqlshim/compare/v0.0.3...HEAD
[unreleased]: https://github.com/radsectors/sqlshim/compare/v0.0.4...HEAD
[0.0.7]: https://github.com/radsectors/sqlshim/compare/v0.0.4...v0.0.7
[0.0.4]: https://github.com/radsectors/sqlshim/compare/v0.0.3...v0.0.4
[0.0.3]: https://github.com/radsectors/sqlshim/compare/v0.0.2...v0.0.3
[0.0.2]: https://github.com/radsectors/sqlshim/compare/v0.0.1...v0.0.2
[0.0.2]: https://github.com/radsectors/sqlshim/compare/v0.0.1...v0.0.2
17 changes: 10 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# How to contribute

### Code Contributions
I've never sent or received pull requests, but that seems to be the way to go about it... so I'll suggest that route until I find something I like better.
### Pull Requests
1. Fork sqlshim
2. Create your feature branch: `git checkout -b my-new-feature`
3. Code some code!
3. Commit your changes `git commit -am 'Added some feature'`
4. Push your branch `git push origin my-new-feature`
5. Submit pull request


### Use Cases
sqlshim's biggest need right now is use cases (especially OS X). If you develop on a Mac and have unixODBC/FreeTDS/PHP set up (or if you don't, but are in need), then I need your help.

Looking for any information to put toward building solid setup instructions for unixODBC/FreeTDS/PHP on OS X.
### Needs
User feedback. Has sqlshim worked for you? Has it failed? I want to know.


### Help Wanted
Please see sqlshim's [help wanted](https://github.com/radsectors/sqlshim/labels/help%20wanted) issues.
Please see sqlshim's [help wanted](https://github.com/radsectors/sqlshim/labels/help%20wanted) issues.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [sqlshim] - PHP sqlsrv for Linux/OS X
# **sqlshim** • PHP sqlsrv for Linux/OS X

The **sqlshim** project aims to replicate [Microsoft SQL Server Driver for PHP][sqlsrv] (**sqlsrv**) on Linux/OS X.

Expand All @@ -8,8 +8,8 @@ The **sqlshim** project aims to replicate [Microsoft SQL Server Driver for PHP][


## Basic Usage
1. ```\RadSectors\SqlShim::init();```
2. ```sqlsrv_connect( ... );```
1. `\RadSectors\SqlShim::init();`
2. `sqlsrv_connect( ... );`
3. ???
4. Profit!!

Expand All @@ -18,7 +18,6 @@ The **sqlshim** project aims to replicate [Microsoft SQL Server Driver for PHP][
For more detailed documentation on **sqlshim**, please see the [sqlshim wiki](https://github.com/radsectors/sqlshim/wiki)

## Installation

See [wiki] for more detailed instructions.

#### Composer
Expand All @@ -30,7 +29,7 @@ require 'vendor/autoload.php';

#### Manual
1. Download the latest [release](https://github.com/radsectors/sqlshim/releases).
2. Extract ```src/sqlshim.php``` and ```src/globals.php``` to wherever you store your 3rd-party libraries.
2. Extract `src/sqlshim.php` and `src/globals.php` to wherever you store your 3rd-party libraries.
3. Include `sqlshim.php`.
```php
require '/path/to/sqlshim.php';
Expand All @@ -54,6 +53,8 @@ You can hit me up on twitter [@radsectors](https://twitter.com/radsectors).
## Known Issues
Please visit the [project on GitHub](https://github.com/radsectors/sqlshim) to view [outstanding issues](https://github.com/radsectors/sqlshim/issues).

## Credits

## License
**sqlshim** is licensed under the MIT license. See the [LICENSE](https://github.com/radsectors/sqlshim/blob/master/LICENSE) file for details.

Expand Down
2 changes: 2 additions & 0 deletions src/globals.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

// trying to dynamicize these functions,
// but you can't really declare a function on the fly like this
// w/o using eval() which may be okay...
// the downside is that we lose docblocks...
// foreach ($ref->getMethods(\ReflectionMethod::IS_PUBLIC) as $o) {
// if ($o->name == 'init') {
// continue;
Expand Down
Loading

0 comments on commit d567476

Please sign in to comment.