Skip to content

Commit

Permalink
Added usage and license parts [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusakov Nikita committed May 4, 2014
1 parent 42b80c7 commit c8b83d6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,26 @@ Placeholder types
- **l**: blob
- **d**: datetime
- **t**: time


Usage
-----

Flame required php 5.4+ and PDO extension.

`composer require nkt/flame:1.0-dev`

```php
<?php

use Flame\Connection;
use Flame\Grammar\MysqlGrammar;

$db = new Connection('mysql:dbname=hello_world', 'user', 'password', [], new MysqlGrammar());
$db->prepare(...);
```

License
-------

[MIT](LICENSE)

0 comments on commit c8b83d6

Please sign in to comment.