PHP code example of litalino / flarum-forum-stats-widget

1. Go to this page and download the library: Download litalino/flarum-forum-stats-widget 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/ */

    

litalino / flarum-forum-stats-widget example snippets

sh
composer update litalino/flarum-forum-stats-widget:"*"
php flarum migrate
php flarum cache:clear
sh
composer update litalino/flarum-forum-stats-widget:"*" --with-dependencies
php flarum migrate
php flarum cache:clear