Skip to content
Notification Methods for @laravel
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
config
database/migrations
src
tests
.editorconfig
.gitattributes
.gitignore
.php_cs
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
composer.json
coverage.xml
phpunit.xml.dist

README.md

Laravel Notification Methods

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package was created by, and is maintained by Brian Faust, and provides Notification Methods for Laravel Eloquent Models.

Installation

composer require kodekeep/laravel-notification-methods

Usage

Add the trait

class User extends Model
{
    use HasNotificationMethods;
}
$user->notificationMethods()->create([
    'name'        => 'My Channel',
    'channel'     => 'discord',
    'discord_url' => 'https://google.com',
]);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@kodekeep.com. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

Support Us

We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.

License

Laravel Notification Methods is an open-sourced software licensed under the MPL-2.0.

You can’t perform that action at this time.