PHPackages                             ytokarchukova/badge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ytokarchukova/badge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ytokarchukova/badge
===================

Add Badge Functionality to Laravel

v2.0.0(6y ago)03GPL-3.0-or-laterPHPCI failing

Since Jan 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ytokarchukova/badge)[ Packagist](https://packagist.org/packages/ytokarchukova/badge)[ Docs](https://github.com/ytokarchukova/badge)[ RSS](/packages/ytokarchukova-badge/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

Badge
=====

[](#badge)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1f62dee27f7af72f27e7df6c1dd87de831365af62cc1e698236ddd82a9071332/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79746f6b61726368756b6f76612f62616467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ytokarchukova/badge)[![Total Downloads](https://camo.githubusercontent.com/c4b7ef97d109d193fb8dff9f7ed588dd83dd27a9cb1c9dd5082f3edecee64dfb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79746f6b61726368756b6f76612f62616467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ytokarchukova/badge)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

Installation
------------

[](#installation)

Via Composer

```
$ composer require ytokarchukova/badge
$ php artisan migrate
$ php artisan vendor:publish --provider="YTokarchukova\Badge\BadgeServiceProvider"
```

Usage
-----

[](#usage)

> Be Careful! This package not include Controllers.

#### Options

[](#options)

All options in `config/badge.php`

Config Disks in `config/filesystems.php` section `disks`

```
         'assets-public' => [
                    'driver' => 'local',
                    'root' => public_path(),
                    'url' => env('APP_URL'),
                    'visibility' => 'public',
         ],

         'badges-js' => [
             'driver' => 'local',
             'root' => public_path('badges/js'),
             'url' => env('APP_URL').'/badges/js',
             'visibility' => 'public',
         ],

         'badges-img' => [
             'driver' => 'local',
             'root' => public_path('badges/img'),
             'url' => env('APP_URL').'/badges/img',
             'visibility' => 'public',
         ],

         'badges-js-s3' => [
             'driver' => 's3',
             'key' => env('AWS_ACCESS_KEY_ID'),
             'secret' => env('AWS_SECRET_ACCESS_KEY'),
             'region' => env('AWS_DEFAULT_REGION'),
             'bucket' => env('AWS_BUCKET'),
             'url' => env('AWS_URL'),
             'root' => 'badges/js/',
         ],

         'badges-img-s3' => [
             'driver' => 's3',
             'key' => env('AWS_ACCESS_KEY_ID'),
             'secret' => env('AWS_SECRET_ACCESS_KEY'),
             'region' => env('AWS_DEFAULT_REGION'),
             'bucket' => env('AWS_BUCKET'),
             'url' => env('AWS_URL'),
             'root' => 'badges/img/',
         ],
```

#### Badge (Model)

[](#badge-model)

Field `secret` is Required. Use Helper to fill. Example `Str::random()`

#### BadgeStorage (Model) - Badge Images

[](#badgestorage-model---badge-images)

Field `file` store only file image name, example `sDJfjkdsSF.png`

#### Cron Checking Badge Status Daily

[](#cron-checking-badge-status-daily)

Config your Laravel Cron to run Artisan Command `php artisan badge:badgesToQueue`. !!! This feature not working in this revision.

#### Check Badge Status Manually

[](#check-badge-status-manually)

Import `use YTokarchukova\Badge\Jobs\CheckBadge;`Run `CheckBadge::dispatch($badge, $check_adress);` where `$badge` is `Badge Model Object` and `$check_address` is url, where crawler search badge.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Yulia Tokarchukova](https://github.com/ytokarchukova)
- [All Contributors](../../contributors)

License
-------

[](#license)

GPL-3.0-or-later. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

4

Last Release

2285d ago

Major Versions

v1.0.2 → v2.0.02020-03-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/b94e7b15fd8a9568e341481c126f3306dcb5b018fc1fad3a8c3f7e275bf78ae4?d=identicon)[ytokarchukova](/maintainers/ytokarchukova)

---

Top Contributors

[![ytokarchukova](https://avatars.githubusercontent.com/u/54578204?v=4)](https://github.com/ytokarchukova "ytokarchukova (5 commits)")

---

Tags

laravelbadge

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ytokarchukova-badge/health.svg)

```
[![Health](https://phpackages.com/badges/ytokarchukova-badge/health.svg)](https://phpackages.com/packages/ytokarchukova-badge)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
