cledilsonweb/simple-mediumrss

PHP Library to read Medium RSS

v1.1 2020-07-24 18:49 UTC

This package is auto-updated.

Last update: 2024-11-10 04:22:38 UTC


README

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.