<img src="http://files.quickmediasolutions.com/stackphp_big.png">

##Code Snippet

<br>

***Fetch the title of a question:***

    <?php
    
    require 'api.php';

    // Create the root object
    $stack_api = new stackPHP();
    
    // Fetch a question by ID

    $params = array('answers=true');  // Set the parameters
    $q = $stack_api->QuestionsByIdMethod('stackoverflow','',2654741,$params);

    echo $q->questions->title;

    ?>

##About

stack.PHP is a clean and easy to use wrapper for the StackOverflow API. It has no dependencies and has a very small filesize. It exposes the complete list of API methods to PHP applications.

stack.PHP powers [StackMobile.com](http://stackapps.com/questions/36/) so you can be assured that it is reliable and stable.

###License

stack.PHP is available under the MIT License

###Download

I have released version 0.1 and it can be downloaded from:  
http://launchpad.net/stackphp/0.1/stackphp0.1/+download/stackphp_0.1.tar.gz

###Platform

PHP 5.2 or higher.

##Contact

I can be reached at [email protected]

##Code

The code can be retrieved from http://launchpad.net/stackphp

**Contributions to stack.PHP are always welcome.**  
Contact me on LaunchPad if you are interested.