Giter Site home page Giter Site logo

sqlshim's Introduction

sqlshim • PHP sqlsrv for Linux/OS X

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

sqlshim was born out of the need for sqlsrv functions in OS X. It started as a short script with a small set of functions and has since evolved into a nearly full replacement for sqlsrv.

DISCLAIMER: sqlshim is in alpha and is geared primarily toward use in a development environment. It is provided as-is and without warranty. I will not be held responsible for any damage(s) incurred from its use.
Also, please note that despite its Mac origins, access to a proper Mac test environment has been limited (nonexistent) so I can't presently make any promises to Mac users.

Basic Usage

  1. sqlsrv_connect( ... );
  2. ???
  3. Profit!!

Documentation

For more detailed documentation on sqlshim, please see the sqlshim wiki

Installation

See [wiki] for more detailed instructions.

Composer (recommended)

  1. composer require "radsectors/sqlshim:dev-master"
  2. Include autoloader.
require 'vendor/autoload.php';

Manual

  1. Download the latest release.
  2. Extract src/sqlshim.php and src/globals.php to wherever you store your 3rd-party libraries.
  3. Include globals.php.
require '/path/to/sqlshim.php';
require '/path/to/globals.php';

3rd-party Lib Setup

Please see wiki article.

Connection Setup

Please see PHP.net's article on sqlsrv_connect()

Testing

Please see wiki article

Contributing

See CONTRIBUTING.md for instructions on how to contribute.

You can hit me up on twitter @radsectors.

Known Issues

Please visit the project on GitHub to view outstanding issues.

Credits

License

sqlshim is licensed under the MIT license. See the LICENSE file for details.

sqlshim's People

Contributors

dinglidingli avatar

Watchers

 avatar

Forkers

creditsenseau

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.