From c468c12910d9d5aa89fd29921dc1056e6b288bc0 Mon Sep 17 00:00:00 2001 From: bzick Date: Tue, 23 Feb 2016 17:41:32 +0300 Subject: [PATCH] Add badges --- readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 036c330..2576abd 100644 --- a/readme.md +++ b/readme.md @@ -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 ``` @@ -15,7 +17,7 @@ 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); @@ -23,7 +25,7 @@ $provider->prependPath($path4); Use the provider to create the object Fenom -``` +```php $fenom = new Fenom($provider); ```