This package was created by, and is maintained by Brian Faust, and provides associations for badges and Laravel Eloquent Models.
composer require konceiver/laravel-badges
namespace App;
use Konceiver\Badges\Concerns\HasBadges;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
use HasBadges;
}
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover a security vulnerability within this package, please send an e-mail to hello@konceiver.dev. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.
laravelBadges is an open-sourced software licensed under the MPL-2.0.