A Laravel Package that makes Invitation to Slack Channels seamless

v1.0 2017-05-25 16:34 UTC

This package is not auto-updated.

Last update: 2020-09-19 06:10:10 UTC


Latest Stable Version License Scrutinizer Code Quality Build Status

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!!!



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.


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


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

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"

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



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

You should see this: goodnesskay-laravel-slack-view


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

You want to appreciate me?

You can appreciate me by starring this repository and follow me on Github , twitter and subscribe to my Youtube Channel!

I love you too.

Goodness Kayode | Pusher of Codes


MIT License (MIT).