cledilsonweb / simple-mediumrss
PHP Library to read Medium RSS
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^7.2 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-11-10 04:22:38 UTC
README
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
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
Change log
Please see CHANGELOG 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.
Credits
License
The MIT License (MIT). Please see License File for more information.