PHPackages                             revolution/laravel-notification-mastodon - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. revolution/laravel-notification-mastodon

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

revolution/laravel-notification-mastodon
========================================

Laravel Notification for Mastodon

3.6.0(2mo ago)611.6k↑166.7%1MITPHPPHP ^8.3CI passing

Since Nov 8Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/invokable/laravel-notification-mastodon)[ Packagist](https://packagist.org/packages/revolution/laravel-notification-mastodon)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-laravel-notification-mastodon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (21)Used By (1)

Laravel Notification for Mastodon
=================================

[](#laravel-notification-for-mastodon)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Laravel &gt;= 12.0

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

[](#installation)

This package is part of [revolution/laravel-mastodon-api](https://github.com/invokable/laravel-mastodon-api).

### Composer

[](#composer)

```
composer require revolution/laravel-mastodon-api

```

Config
------

[](#config)

Set default `domain` and `token`

### config/services.php

[](#configservicesphp)

```
    'mastodon' => [
        'domain'        => env('MASTODON_DOMAIN'),
        'token'         => env('MASTODON_TOKEN'),
    ],
```

### .env

[](#env)

```
MASTODON_DOMAIN=https://example.com
MASTODON_TOKEN=

```

### TOKEN?

[](#token)

Go to your Mastodon's preferences page.

Usage
-----

[](#usage)

```
