Skip to content

Commit

Permalink
change doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Varnicic committed Oct 12, 2016
1 parent bcd0fb4 commit 74340ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ZF2 Current Route Helper
# Zend Framework Current Route Helper
View Helper for reading **Controller, Module, Action and Route name** in any view(.phtml) file including layout.phtml

# Install
Expand All @@ -8,7 +8,7 @@ Add in you **composer.json** file:
```json
{
"require": {
"tasmaniski/zf2-current-route": "1.0.*"
"tasmaniski/zend-current-route": "^2.0"
}
}
```
Expand All @@ -23,6 +23,9 @@ You need to register new module. Add in file **config/application.config.php**:
),
```

*Note: if you want to use it in ZF2 app, add in composer.json version ^1.0*


# Use
Use this view helper in your view files(.html) including layout.phtml
```
Expand Down

0 comments on commit 74340ca

Please sign in to comment.