Skip to content

Commit

Permalink
Update readme for symfony 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eschmar committed Jun 4, 2020
1 parent 81c00bc commit 67e853a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ Uses a range of +-7 days, after that, the actual date is returned.
## Install
Composer (<a href="https://packagist.org/packages/eschmar/time-ago-bundle" target="_blank">Packagist</a>):
```sh
composer require eschmar/time-ago-bundle ^v1.1.0 # Symfony ^4.x
composer require eschmar/time-ago-bundle ^v2.0.0 # Symfony ^5.0
```

or for older symfony versions:
```sh
composer require eschmar/time-ago-bundle ^v1.1.0 # Symfony ^4.x
composer require eschmar/time-ago-bundle ~v0.4.0 # Symfony ^2.8
composer require eschmar/time-ago-bundle ~v0.5.0 # Symfony ^3.4
```

app/Appkernel.php:
app/Appkernel.php (Symfony <4):
```php
new Eschmar\TimeAgoBundle\EschmarTimeAgoBundle(),
```
Expand Down

0 comments on commit 67e853a

Please sign in to comment.