Download the PHP package stratedge/wye without Composer
On this page you can find all versions of the php package stratedge/wye. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stratedge/wye
More information about stratedge/wye
Files in stratedge/wye
Package wye
Short Description A library that makes unit testing database-driven code in PHP a breeze. Mock the native PDO class, define query results, and inspect executed statements.
License MIT
Homepage https://github.com/stratedge/wye
Informations about the package wye
Wye
A library that makes unit testing database-driven code in PHP a breeze. Mock the native PDO class, define query results, and inspect executed statements.
"[In firefighting a] hose appliance used for splitting one line into two discharges. Often a gated wye is used to allow and disallow water flow through the two separate discharges." - https://en.wikipedia.org/wiki/Glossary\_of\_firefighting\_equipment#Wye
Installation
Wye is registered with Packagist and can be installed with Composer. Run the following on the command line:
Once Wye has been included in your project, just make sure to require Composer's autoloader:
Basic Usage Example
WAIT, THERE'S MORE
For a much more in-depth look at Wye's usage, check out the extensive documentation, especially the section on Basic Usage.
Documentation
Complete and up-to-date documentation is available on the Wiki.
Some of the major topics discussed include: An Introduction, Defining Results, Inspecting Execution Info, and Inspecting Bindings.
Todo & Roadmap
List of enhancements and implementations is available on the Todo & Roadmap page of the wiki.
Issue Tracking
If you should find an issue in Wye, and you think you can fix it, by all means please do so. Pull requests are gladly accepted. If you don't have the time or energy to fix it, please log the issue with as much detail as possible so I can take a look.
Issues can be logged on the Github issue tracker.
Acknowledgements
Wye is built on top of an idea I first saw implemented by my friend/colleague Josh.