Skip to content

cledilsonweb/simple-mediumrss

Repository files navigation

SimpleMediumRSS

Latest Version on Packagist Software License Total 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

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.