PHPackages                             goodnesskay/laravel-slack - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. goodnesskay/laravel-slack

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

goodnesskay/laravel-slack
=========================

A Laravel Package that makes Invitation to Slack Channels seamless

v1.0(8y ago)31711MITPHP

Since May 25Pushed 8y ago2 watchersCompare

[ Source](https://github.com/goodnesskay/Laravel-Slack)[ Packagist](https://packagist.org/packages/goodnesskay/laravel-slack)[ RSS](/packages/goodnesskay-laravel-slack/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

LARAVEL SLACK PACKAGE
---------------------

[](#laravel-slack-package)

[![Latest Stable Version](https://camo.githubusercontent.com/b73cb5969c7864b2afe4f9f52da7df6fecc1c2e07f9c485a97d951003edff106/68747470733a2f2f706f7365722e707567782e6f72672f676f6f646e6573736b61792f6c61726176656c2d736c61636b2f762f737461626c65)](https://packagist.org/packages/goodnesskay/laravel-slack)[![License](https://camo.githubusercontent.com/20af493bd6d92d5488a3c8107c3598bf207ca32646afacef459fca59c5baaaad/68747470733a2f2f706f7365722e707567782e6f72672f676f6f646e6573736b61792f6c61726176656c2d736c61636b2f6c6963656e7365)](https://packagist.org/packages/goodnesskay/laravel-slack)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9f07de9f237b8fc76158cc54be2d093afd9e0b1bec40e23d673bbcada6efc044/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f6f646e6573736b61792f4c61726176656c2d536c61636b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/?branch=master)[![Build Status](https://camo.githubusercontent.com/76cf99c6b7fbe5bffd7af3fd6b8dd61a6fb5ee2aa8dd966bc788552cd44f9565/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f6f646e6573736b61792f4c61726176656c2d536c61636b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/build-status/master)

> This package was built for easy integration of automatic Slack invite into your Laravel Project instead of writing codes from scratch or with another programming language. If your web project is built on Laravel and you need to handle Automatic Slack Invite, this package makes that job seamless. Enjoy!!!

Requirement
-----------

[](#requirement)

- [PHP](https://php.net) 5.6+
- [Composer](https://getcomposer.org)

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

[](#installation)

To install into your project, run the command below in your terminal.

```
composer require goodnesskay/laravel-slack

```

Once the package is done being installed, register the service provider. Open `config/app.php` and add the following to the `providers` key.

```
GoodnessKay\LaravelSlack\LaravelSlackServiceProvider::class

```

After that, register the Facade in the same `config/app.php` file:

```
'aliases' => [
    ...
       'LaravelSlack' => GoodnessKay\LaravelSlack\Facade\LaravelSlack::class,
    ...
]

```

Finally, this project requires GuzzleHttp Client. Install it by running this in your terminal

```
composer require guzzlehttp/guzzle

```

Configure
---------

[](#configure)

Publish the config file `LaravelSlack.php` to config folder, the **Views** folder of the package named **Slack** to the `resources/views` folder and `LaravelSlackController.php` to `App\Http\Controller` folder

```
php artisan vendor:publish --provider="GoodnessKay\LaravelSlack\LaravelSlackServiceProvider"

```

How it Works
------------

[](#how-it-works)

After following all the information stated above, what next to do are:

**A)** Copy the code below to your `.env` file and make changes to the values.

```
SLACK_TEAM_NAME="Codebag Team"
TEAM_DESCRIPTION="Brief Description of your team. This will be seen publicly"
SLACK_TEAM_URL="https://codebag-team-test.slack.com/"
SLACK_API_TOKEN="apap-2526258373-71328384096-187220289412-01c2c6637bb0d474f39f24e0a79d6e072"
SLACK_TEAM_EMAIL="gtkbrain@gmail.com"

```

**Note:** Make sure you include the quotation mark.

> To get your Slack Api Token, check  and go to Legacy Token Generator to issue the token.

**B)** Copy the code below into your route file `routes/web.php`

```
Route::get('/slack',[
    'uses'=>'LaravelSlackController@slackPage',
    'as'=>'slack'
]);

Route::post('/slack',[
    'uses'=>'LaravelSlackController@sendSlackInvite',
    'as'=>'slack'
]);

```

**C)** Use `php artisan serve` and check your slack invite page on `http://locahost:8000/slack`

You should see this: [![goodnesskay-laravel-slack-view](https://cloud.githubusercontent.com/assets/16525886/26491867/3598c632-4209-11e7-9fe6-347d730532e1.png)](https://cloud.githubusercontent.com/assets/16525886/26491867/3598c632-4209-11e7-9fe6-347d730532e1.png)

Contribute
----------

[](#contribute)

You can `fork` this package, `contribute` and `submit a pull request`. I will really love it.

You want to appreciate me?
--------------------------

[](#you-want-to-appreciate-me)

You can appreciate me by **starring** this repository and follow me on [Github](https://github.com/goodnesskay) , [twitter](https://twitter.com/goodnesskayode) and subscribe to my [Youtube](https://www.youtube.com/channel/UC3h5EkjLBS5VtpJRVRrMD-Q) Channel!

I love you too.

**Goodness Kayode | Pusher of Codes**

License
-------

[](#license)

MIT License (MIT).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3274d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16525886?v=4)[Goodness Kayode](/maintainers/goodnesskay)[@goodnesskay](https://github.com/goodnesskay)

---

Top Contributors

[![goodnesskay](https://avatars.githubusercontent.com/u/16525886?v=4)](https://github.com/goodnesskay "goodnesskay (1 commits)")

---

Tags

automationinvitation-systemlaravellaravel-slacklibrarypackagistphpslacklaravelslackpackagesslack-apiAutomatic Invite

### Embed Badge

![Health badge](/badges/goodnesskay-laravel-slack/health.svg)

```
[![Health](https://phpackages.com/badges/goodnesskay-laravel-slack/health.svg)](https://phpackages.com/packages/goodnesskay-laravel-slack)
```

###  Alternatives

[maknz/slack-laravel

Laravel 4 and 5 integration for the maknz/slack package, including facades and service providers.

154969.3k1](/packages/maknz-slack-laravel)[jeremykenedy/slack-laravel

Laravel integration for the jeremykenedy/slack package, including facades and service providers.

54738.8k](/packages/jeremykenedy-slack-laravel)[razorpay/slack-laravel

Laravel 4 and 5 integration for the razorpay/slack package, including facades and service providers.

18375.3k1](/packages/razorpay-slack-laravel)[muhamadrezaar/highcharts

Laravel Highcarts Packages

3146.7k](/packages/muhamadrezaar-highcharts)[lisennk/laravel-slack-events-api

Slack Events API for Laravel 5, 6, 7 and 8

3911.4k](/packages/lisennk-laravel-slack-events-api)

PHPackages © 2026

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