{"id":18542950,"url":"https://github.com/goodnesskay/laravel-slack","last_synced_at":"2025-04-09T18:32:18.418Z","repository":{"id":57002768,"uuid":"84021799","full_name":"goodnesskay/Laravel-Slack","owner":"goodnesskay","description":"A Laravel Package that makes Automatic Invitation to Slack Channels seamless ","archived":false,"fork":false,"pushed_at":"2018-03-14T07:58:03.000Z","size":494,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T10:38:54.176Z","etag":null,"topics":["automation","invitation-system","laravel","laravel-slack","library","packagist","php","slack"],"latest_commit_sha":null,"homepage":"http://goodnesskayode.me","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goodnesskay.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-06T02:37:35.000Z","updated_at":"2025-03-23T13:44:54.000Z","dependencies_parsed_at":"2022-08-21T14:10:46.576Z","dependency_job_id":null,"html_url":"https://github.com/goodnesskay/Laravel-Slack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodnesskay%2FLaravel-Slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodnesskay%2FLaravel-Slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodnesskay%2FLaravel-Slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodnesskay%2FLaravel-Slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodnesskay","download_url":"https://codeload.github.com/goodnesskay/Laravel-Slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087880,"owners_count":21045605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","invitation-system","laravel","laravel-slack","library","packagist","php","slack"],"created_at":"2024-11-06T20:11:19.090Z","updated_at":"2025-04-09T18:32:15.033Z","avatar_url":"https://github.com/goodnesskay.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## LARAVEL SLACK PACKAGE\n\n[![Latest Stable Version](https://poser.pugx.org/goodnesskay/laravel-slack/v/stable)](https://packagist.org/packages/goodnesskay/laravel-slack)\n[![License](https://poser.pugx.org/goodnesskay/laravel-slack/license)](https://packagist.org/packages/goodnesskay/laravel-slack)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/badges/build.png?b=master)](https://scrutinizer-ci.com/g/goodnesskay/Laravel-Slack/build-status/master)\n\n\u003e 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.\nIf your web project is built on Laravel and you need to handle Automatic Slack Invite, this package makes that job seamless. Enjoy!!!\n\n\n## Requirement\n\n- [PHP](https://php.net) 5.6+ \n- [Composer](https://getcomposer.org)\n\n## Installation\nTo install into your project, run the command below in your terminal.\n\n```\ncomposer require goodnesskay/laravel-slack\n```\n\nOnce the package is done being installed, register the service provider. Open `config/app.php` and add the following to the `providers` key.\n\n ```\n GoodnessKay\\LaravelSlack\\LaravelSlackServiceProvider::class\n ```\n \n After that, register the Facade in the same `config/app.php` file:\n \n ```\n 'aliases' =\u003e [\n     ...\n        'LaravelSlack' =\u003e GoodnessKay\\LaravelSlack\\Facade\\LaravelSlack::class,\n     ...\n ]\n ```\n \nFinally, this project requires GuzzleHttp Client. Install it by running this in your terminal\n```\ncomposer require guzzlehttp/guzzle\n```\n \n ## Configure\n Publish the config file `LaravelSlack.php` to config folder,\n  the **Views** folder of the package named **Slack** to the `resources/views` folder and `LaravelSlackController.php` to `App\\Http\\Controller`  folder\n \n```\nphp artisan vendor:publish --provider=\"GoodnessKay\\LaravelSlack\\LaravelSlackServiceProvider\" \n\n```\n\n##  How it Works\nAfter following all the information stated above, what next to do are:\n\n**A)** Copy the code below to your `.env` file and make changes to the values.\n\n```\nSLACK_TEAM_NAME=\"Codebag Team\"\nTEAM_DESCRIPTION=\"Brief Description of your team. This will be seen publicly\"\nSLACK_TEAM_URL=\"https://codebag-team-test.slack.com/\"\nSLACK_API_TOKEN=\"apap-2526258373-71328384096-187220289412-01c2c6637bb0d474f39f24e0a79d6e072\"\nSLACK_TEAM_EMAIL=\"gtkbrain@gmail.com\"\n\n```\n\n**Note:** Make sure you include the quotation mark.\n\u003e To get your Slack Api Token, check [https://api.slack.com/custom-integrations/legacy-tokens](https://api.slack.com/custom-integrations/legacy-tokens) and go to Legacy Token Generator to issue the token.\n\n**B)** Copy the code below into your route file  `routes/web.php`\n\n```\nRoute::get('/slack',[\n    'uses'=\u003e'LaravelSlackController@slackPage',\n    'as'=\u003e'slack'\n]);\n\nRoute::post('/slack',[\n    'uses'=\u003e'LaravelSlackController@sendSlackInvite',\n    'as'=\u003e'slack'\n]);\n\n```\n\n**C)** Use `php artisan serve` and check your slack invite page on `http://locahost:8000/slack`\n \n You should see this:\n ![goodnesskay-laravel-slack-view](https://cloud.githubusercontent.com/assets/16525886/26491867/3598c632-4209-11e7-9fe6-347d730532e1.png)\n \n## Contribute\n\nYou can `fork` this package, `contribute` and `submit a pull request`. I will really love it.\n\n##  You want to appreciate me?\n\nYou 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!\n\nI love you too.\n\n**Goodness Kayode | Pusher of Codes**\n\n\n## License\n\nMIT License (MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodnesskay%2Flaravel-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodnesskay%2Flaravel-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodnesskay%2Flaravel-slack/lists"}