PHP code example of processton-io / processton-stats-card

1. Go to this page and download the library: Download processton-io/processton-stats-card 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/ */

    

processton-io / processton-stats-card example snippets


ProcesstonStatsCard::generateStatsCard(
    $title, 
    $value, 
    $icon,
    $subTitle,
    $format,
    $attachments,
    $width,
    $name,
)

ProcesstonStatsCard::generateStatsCardByURL(
    $dataSrc,
    $title,
    $subTitle,
    $attachments,
    $width,
    $name
);

ProcesstonStatsCard::generateStatsCardData(
    $title,
    $value,
    $format,
    $icon,
    $subTitle
);