processton-io/processton-stats-card

This package will generate stats card

1.1.0 2024-07-05 05:46 UTC

This package is auto-updated.

Last update: 2024-11-05 06:30:56 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require processton-io/processton-stats-card

Usage

generateStatsCard

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

generateStatsCardByURL

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

generateStatsCardData

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

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email ahmadkokab@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.