Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Feb 13, 2019
1 parent 7044577 commit 2137c09
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> A PHP library to rule them all, to entangle them with magic, a PHP library to gather them and bind them in darkness
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/ed3544de-7d64-4ef9-a551-c61a66fb668d/mini.png)](https://insight.sensiolabs.com/projects/ed3544de-7d64-4ef9-a551-c61a66fb668d)
![License](http://img.shields.io/:license-mit-blue.svg)
![License](http://img.shields.io/:license-mit-blue.svg?style=flat) ![Packagist](https://img.shields.io/packagist/v/rezozero/mixedfeed.svg?style=flat)

- [Install](#install)
- [Combine feeds](#combine-feeds)
Expand All @@ -15,7 +15,7 @@

## Install

MixedFeed v2+ needs at least PHP 7.1, check your server configuration.
*mixedfeed* v2+ needs at least PHP 7.1, check your server configuration.

```shell
composer require rezozero/mixedfeed
Expand Down Expand Up @@ -80,8 +80,10 @@ $feed = new MixedFeed([
]);

return $feed->getItems(12);
// Or use canonical FeedItem objects
// return $feed->getCanonicalItems(12);
// Or use canonical \RZ\MixedFeed\Canonical\FeedItem objects
// for a better compatibility and easier templating with multiple
// social platforms.
return $feed->getCanonicalItems(12);
```

## Combine feeds
Expand Down

0 comments on commit 2137c09

Please sign in to comment.