PHP code example of shebaoting / flarum-rss

1. Go to this page and download the library: Download shebaoting/flarum-rss library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shebaoting / flarum-rss example snippets

sh
composer  migrate
php flarum cache:clear
sh
composer update shebaoting/flarum-rss:"^2.0"
php flarum migrate
php flarum cache:clear
sh
php flarum rss:fetch
sh
php flarum rss:fetch "https://example.com/feed.xml"
sh
composer  migrate
php flarum cache:clear