Installation | laravel-slack-alerts-go | Spatie       

 SPATIE  

laravel-slack-alerts-go
=======================

spatie.be/open-source

  [Docs](https://spatie.be/docs)  [Laravel-slack-alerts-go](https://spatie.be/docs/laravel-slack-alerts-go/v1)  Installation

 Version   v1      

 Other versions for crawler [v1](https://spatie.be/docs/laravel-slack-alerts-go/v1) 

  Installation    
- [ Introduction ](https://spatie.be/docs/laravel-slack-alerts-go/v1/introduction)
- [ Installation ](https://spatie.be/docs/laravel-slack-alerts-go/v1/installation-and-setup)
- [ Usage ](https://spatie.be/docs/laravel-slack-alerts-go/v1/usage)
- [ Sending blocks ](https://spatie.be/docs/laravel-slack-alerts-go/v1/sending-blocks)
- [ Using multiple webhooks ](https://spatie.be/docs/laravel-slack-alerts-go/v1/using-multiple-webhooks)
- [ Queuing ](https://spatie.be/docs/laravel-slack-alerts-go/v1/queuing)
- [ Formatting ](https://spatie.be/docs/laravel-slack-alerts-go/v1/formatting)
- [ Testing ](https://spatie.be/docs/laravel-slack-alerts-go/v1/testing)
- [ Releasing ](https://spatie.be/docs/laravel-slack-alerts-go/v1/releasing)
- [ Changelog ](https://spatie.be/docs/laravel-slack-alerts-go/v1/changelog)
- [ Support us ](https://spatie.be/docs/laravel-slack-alerts-go/v1/support-us)

 Installation
============

Requires Go 1.27 or newer and Laravel Go `go.laravel.com v0.1.0`.

```
go get github.com/spatie/laravel-slack-alerts-go@v0.1.0
```

Install the package explicitly in `bootstrap/app.go`:

```
import (
    "github.com/spatie/laravel-slack-alerts-go"
    laravel "go.laravel.com"
)

func Options() laravel.Options {
    return laravel.Options{
        Packages: []laravel.Package{ slackalerts.New() },
    }
}
```

Set `SLACK_ALERT_WEBHOOK` to a valid Slack webhook URL. Learn how to get one [in the Slack API docs](https://api.slack.com/messaging/webhooks).

Optional settings are `SLACK_ALERT_ENABLED` (default `true`) and `SLACK_ALERT_QUEUE` (default `default`). Configuration callbacks passed to `New` override environment defaults. There is no config file to publish in Go.

 A good
match?
-------------

### What we do best

- All things Laravel
- Custom frontend components
- Building APIs
- AI-powered features
- Simplifying things
- Clean solutions
- Integrating services

### Not our cup of tea

- WordPress themes
- Cutting corners
- Free mockups to win a job
- "Just execute the briefing"

 In short: we'd like to be a **substantial part** of your project.

 [ Get in touch via email ](mailto:info@spatie.be?subject=A%20good%20match%21&body=Tell%20us%20as%20much%20as%20you%20can%20about%0A-%20your%20online%20project%0A-%20your%20planning%0A-%20your%20budget%0A-%20%E2%80%A6%0A%0AAnything%20that%20helps%20us%20to%20start%20straightforward%21)
