PHPackages                             laravel-notification-channels/workplace - 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. laravel-notification-channels/workplace

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

laravel-notification-channels/workplace
=======================================

Workplace notification channel

0.0.1(6y ago)64213MITPHPPHP &gt;=7.0

Since Jan 1Pushed 3y ago6 watchersCompare

[ Source](https://github.com/laravel-notification-channels/workplace)[ Packagist](https://packagist.org/packages/laravel-notification-channels/workplace)[ Docs](https://github.com/laravel-notification-channels/workplace)[ RSS](/packages/laravel-notification-channels-workplace/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (2)Used By (0)

Workplace Notifications Channel for Laravel
===========================================

[](#workplace-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/40f37dc8dbdbde683d5513ac9d6f07f0e93fda9c4474aa1d12f181abebf38331/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f776f726b706c6163652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/workplace)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Tests](https://github.com/laravel-notification-channels/workplace/actions/workflows/phpunit.yml/badge.svg)](https://github.com/laravel-notification-channels/workplace/actions/workflows/phpunit.yml)[![Quality Score](https://camo.githubusercontent.com/7f21941b3b0669017d9604c7dda893aee5bbe7c22a53c443a23603b1382f064a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f776f726b706c6163652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/workplace)[![Total Downloads](https://camo.githubusercontent.com/461713ef703150458b7a001fde2f192b43e1c8ac8eb230da85592edbfe6edd0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f776f726b706c6163652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/workplace)

This package makes it easy to send notifications using [Workplace](https://work.facebook.com) with Laravel 5.5+ and 6.0

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require laravel-notification-channels/workplace
```

Usage
-----

[](#usage)

You can now use the channel in your `via()` method inside the Notification class.

```
use NotificationChannels\Workplace\WorkplaceChannel;
use NotificationChannels\Workplace\WorkplaceMessage;
use Illuminate\Notifications\Notification;

class WorkplaceNotification extends Notification
{
    public function via($notifiable)
    {
        return [WorkplaceChannel::class];
    }

    public function toWorkplace($notifiable)
    {
        return new WorkplaceMessage('# Laravel Notification Channels are awesome!');
    }
}
```

You also need to add the `routeNotificationForWorkplace()` method in your notifiable model:

```
class TestNotifiable
{
    use \Illuminate\Notifications\Notifiable;

    public function routeNotificationForWorkplace()
    {
        return 'https://graph.facebook.com//feed?access_token=';
    }
}
```

### Available Message methods

[](#available-message-methods)

- `content('')`: (string) Notification message, supports markdown.
- `asMarkdown()`: Treats the message content as being Markdown (default)
- `asPlainText()`: Treats the message content as being plain text

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Alexandre Lima](https://github.com/infus0815)
- [Gonçalo Queirós](https://github.com/Ghunti)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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

Unknown

Total

1

Last Release

2323d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

[![ghunti](https://avatars.githubusercontent.com/u/392038?v=4)](https://github.com/ghunti "ghunti (7 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (2 commits)")[![josepostiga](https://avatars.githubusercontent.com/u/5563554?v=4)](https://github.com/josepostiga "josepostiga (1 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-workplace/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-workplace/health.svg)](https://phpackages.com/packages/laravel-notification-channels-workplace)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

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