# How to send quick Google Chat (Gmail) alerts in Laravel

After [Freek](https://twitter.com/freekmurze) released a little package to send quick alerts to Slack, I knew instantly I wanted that for our main app but for Google Chat.

I released [GoogleChatAlert](https://github.com/guywarner/laravel-google-chat-alerts) that, like the main package, allows for multiple rooms to send an alert. It also cuts down on the complexity of setting up Laravel notifications.

```
GoogleChatAlert::message("Invoice {$invoice->number} is now 80 days past due");
```

For critical alerts this package allows you to `@all` members of the room:

```
GoogleChatAlert::message("New support ticket. <users/all>");
```

Big thanks to Spatie team!

Read more on the reasoning for the [original package](https://freek.dev/2172-a-package-to-quickly-send-slack-alerts-in-a-laravel-app).

> Thanks, for reading, please let me know if you found this helpful or have questions over on Twitter: https://twitter.com/DigiGuyDev or in the comments below!
