Skip to content

Commit

Permalink
Add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
bzick committed Feb 23, 2016
1 parent a0f7167 commit c468c12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Providers Collections
====

[![Latest Stable Version](https://poser.pugx.org/fenom/providers-collection/v/stable)](https://packagist.org/packages/fenom/providers-collection) [![Total Downloads](https://poser.pugx.org/fenom/providers-collection/downloads)](https://packagist.org/packages/fenom/providers-collection) [![Latest Unstable Version](https://poser.pugx.org/fenom/providers-collection/v/unstable)](https://packagist.org/packages/fenom/providers-collection) [![License](https://poser.pugx.org/fenom/providers-collection/license)](https://packagist.org/packages/fenom/providers-collection)

## Install

```
Expand All @@ -15,15 +17,15 @@ Provider supports multiple directories where to look for templates.

Create and configure provider

```
```php
$provider = new Fenom\MultiPathProvider([$path1, $path2]);
$provider->addPath($path3);
$provider->prependPath($path4);
```

Use the provider to create the object Fenom

```
```php
$fenom = new Fenom($provider);
```

Expand Down

0 comments on commit c468c12

Please sign in to comment.