Skip to content

Commit

Permalink
Improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjacobus committed Sep 19, 2014
1 parent b4ecba7 commit 2bb53b7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Package information:
[![Latest Unstable Version](https://poser.pugx.org/koine/mvc/v/unstable.svg)](https://packagist.org/packages/koine/mvc)
[![License](https://poser.pugx.org/koine/mvc/license.svg)](https://packagist.org/packages/koine/mvc)

### Skeleton app

For a ready to use app clone the [skeleton app](https://github.com/koinephp/mvc-skeleton) or follow its composer instalation guide.

### Usage

```php
Expand Down Expand Up @@ -123,6 +127,11 @@ use Koine\Test\Mvc\ControllerTestCase;

class HelloWordControllerTest extends ControllerTestCase
{
public function setUp()
{
$this->setUpController('MyApp\\HelloWordController');
}

public function testSayHelloWhenUserIsLoggedIn()
{
$session = array('user_id');
Expand Down Expand Up @@ -168,7 +177,7 @@ Append the lib to your requirements key in your composer.json.
// [..]
require: {
// append this line to your requirements
"koine/mvc": "0.9.*"
"koine/mvc": "~0.9.7"
}
}
```
Expand Down

0 comments on commit 2bb53b7

Please sign in to comment.