Today is Friday, and if you are a PHP developer with nothing to do this coming weekend, here is a new API library that you can try out over the next couple days.
We are happy to announce a new Bing Search Library for PHP,available on Codeplex.com under an open source BSD license.
From the project homepage on Codeplex.com:
The Bing Search Library for PHP allows you to easily use Bing’s API to fetch search results and use in your own PHP application. The library for PHP is designed to give PHP developers an object-oriented interface to access the Bing API. It supports fluent interfaces in PHP so that options can be easily chained together for readability.
This library was created by seasoned PHP developer Cal Evans, who has also posted a tutorial with some sample code for PHP developers to quickly get started.
An example of what the Bing Search Library for PHP can be used for, check out the Bing404 plugin for WordPress, which was just released today.
This WordPress plugin enables the following scenario:
- A visitor to the site makes a request for page that would otherwise produce a 404 error but instead gets a custom page which gives them dynamic Bing search links instead which are related to the information the visitor was seeking.
- The WordPress developer of the site used the Bing for WordPress plugin so that no matter what page a visitor requests, they’ll always get useful information compliments of Bing Search and not the unfriendly 404 error.
Try it out today!