Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cledilsonweb/simple-mediumrss

PHP Library to read Medium RSS
https://github.com/cledilsonweb/simple-mediumrss

medium medium-com php rss rss-feed-parser

Last synced: 29 days ago
JSON representation

PHP Library to read Medium RSS

Awesome Lists containing this project

README

        

# SimpleMediumRSS

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE)
[![Total Downloads][ico-downloads]][link-downloads]

PHP Library to read Medium RSS

## Install

```
composer require cledilsonweb/simple-mediumrss
```

The php-mbstring and php-xml are dependecies on PHP installation and configuration.

## Usage

``` php
require __DIR__ . '/vendor/autoload.php';

$simple = new SimpleMediumRSS('https://medium.com/feed/@Medium');

echo $simple->getTitle();
echo $simple->getDescription();
echo $simple->getLastBuildDate();

$itens = $simple->getItens();
foreach($itens as $item){
echo $item->getTitle();
echo $item->getContent();
}
```
For more, please: [Simple MediumRSS Wiki](https://github.com/cledilsonweb/simple-mediumrss/wiki)

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Suggestions and Security

If you discover any security related issues or have any suggestions, please [create a new issue][new-issue].

## Credits

- [Cledilson Nascimento][link-author]
- [All Contributors][link-contributors]

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.

[ico-version]: https://img.shields.io/packagist/v/cledilsonweb/simple-mediumrss.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/cledilsonweb/simple-mediumrss.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/cledilsonweb/simple-mediumrss
[link-downloads]: https://packagist.org/packages/cledilsonweb/simple-mediumrss
[link-author]: https://github.com/cledilsonweb
[link-contributors]: ../../contributors
[new-issue]: https://github.com/cledilsonweb/simple-mediumrss/issues/new