Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cledilsonweb/simple-mediumrss
- Owner: cledilsonweb
- License: mit
- Created: 2020-06-13T14:44:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T01:03:36.000Z (over 1 year ago)
- Last Synced: 2024-04-18T01:22:04.774Z (8 months ago)
- Topics: medium, medium-com, php, rss, rss-feed-parser
- Language: HTML
- Size: 214 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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