{"id":18775837,"url":"https://github.com/vluzrmos/lumen-slackin","last_synced_at":"2025-04-13T09:31:26.498Z","repository":{"id":31809423,"uuid":"35376036","full_name":"vluzrmos/lumen-slackin","owner":"vluzrmos","description":"A Slack Invitator made with Lumen Framework.","archived":false,"fork":false,"pushed_at":"2016-12-03T18:07:16.000Z","size":1002,"stargazers_count":56,"open_issues_count":2,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T03:07:26.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://slack.laravel.com.br","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/vluzrmos.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":"2015-05-10T15:17:37.000Z","updated_at":"2020-05-03T10:17:39.000Z","dependencies_parsed_at":"2022-09-04T09:20:26.543Z","dependency_job_id":null,"html_url":"https://github.com/vluzrmos/lumen-slackin","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vluzrmos%2Flumen-slackin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vluzrmos%2Flumen-slackin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vluzrmos%2Flumen-slackin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vluzrmos%2Flumen-slackin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vluzrmos","download_url":"https://codeload.github.com/vluzrmos/lumen-slackin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223580011,"owners_count":17168552,"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":[],"created_at":"2024-11-07T19:44:04.269Z","updated_at":"2024-11-07T19:44:04.905Z","avatar_url":"https://github.com/vluzrmos.png","language":"PHP","funding_links":[],"categories":["Made With Lumen"],"sub_categories":["Videos"],"readme":"## Lumen - Slackin\n\n[![Join the chat at https://gitter.im/vluzrmos/lumen-slackin](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vluzrmos/lumen-slackin?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[![Latest Stable Version](https://poser.pugx.org/vluzrmos/lumen-slackin/v/stable)](https://packagist.org/packages/vluzrmos/lumen-slackin) [![Total Downloads](https://poser.pugx.org/vluzrmos/lumen-slackin/downloads)](https://packagist.org/packages/vluzrmos/lumen-slackin) [![License](https://poser.pugx.org/vluzrmos/lumen-slackin/license)](https://packagist.org/packages/vluzrmos/lumen-slackin)\n\nA Slack Invitator made with Lumen Framework and inspired by [rauchg/slackin](https://github.com/rauchg/slackin).\n\nThat application uses some of my awesome packages:\n\n* [Badge Poser](https://github.com/vluzrmos/laravel-badge-poser) - Badges generator to Laravel.\n* [Slack API](https://github.com/vluzrmos/laravel-slack-api) - Laravel easy Slack API.\n* [Language Detector](https://github.com/vluzrmos/laravel-language-detector) - Automatic set the application language based on user browser preferences.\n* [Lumen Tinker](https://github.com/vluzrmos/lumen-tinker) - An interactive shell to Lumen.\n\n## Download the source\n\n```bash\ncomposer create-project vluzrmos/lumen-slackin\n```\n\n## Installation\n\nCopy \u003ccode\u003e.env.example\u003c/code\u003e to \u003ccode\u003e.env\u003c/code\u003e and:\n\nChange the \u003ccode\u003eAPP_KEY\u003c/code\u003e to something random string with max 32 characters.\n\nChange the \u003ccode\u003eSLACK_TOKEN\u003c/code\u003e to the token of your user on slack team, with admin privilegies, you can get it on [Slack Web API](https://api.slack.com/web#authentication).\n\n## Run\n\n## Queue\nStart the queue listener:\n\n```bash\nphp artisan queue:listen --timeout=240 1\u003e\u003e /dev/null 2\u003e\u00261 \u0026\n```\n\n\u003e That will start the queue listener in background on \\*nix computers, to stop that you need to know\n  how to kill a job on your system.\n\n\u003e Its hight recomended run the queue on system startup, on linux you should add the following lines to your crontab:\n\n```bash\n@reboot php /path/to/that/project/artisan queue:listen --timeout=240 1\u003e\u003e /dev/null 2\u003e\u00261\n```\n\n### Scheduled Tasks (Optional)\n\nYou may also need to add that command to your cronjob, that will update the users status on every minute:\n\n```bash\n* * * * *  php /path/to/that/project/artisan schedule:run 1\u003e\u003e /dev/null 2\u003e\u00261\n```\n\nThat will make your queue run in background and ignoring error messages.\n\n**Note:** If you do not want to use that feature, you just need to set the environment\nvariable `SLACK_STATUS_ENABLED` to `false` on your `.env` file, that will hide the message\nabout users active (online/total) of your team on the homepage:\n\n    SLACK_STATUS_ENABLED=false\n\n### HTTP Server\n\nStart the http server:\n\n```bash\nphp artisan serve\n```\n\nBy default, artisan serve starts on port 8000, if you want to modify it, just starts it by passing \u003ccode\u003e--port=NUMBER\u003c/code\u003e or \njust make a VirtualHost on your server (Apache or Nginx) with DocumentRoot on \u003ccode\u003e/path/to/that/project/public/\u003c/code\u003e path.\n\n## Badge is available\n\nIf your need a badge to your slack invitator, just use:\n\n```html\n\u003cimg src=\"http://your-domain/badge.svg\" /\u003e\n```\n\nExample:\n[![Laravel Brasil](https://slack.laravel.com.br/badge.svg)](https://slack.laravel.com.br)\n\n## Multi-Language Support\n\nBy default the system will try to detect if the browser language is available on \u003ccode\u003eresources/lang\u003c/code\u003e, \nif available will setup. Available languages:\n\n* English  - en\n* French   - fr_FR\n* Portuguese Brazil - pt_BR\n* German   - de_DE\n\n## Mobile Devices\n\nThat project uses [Twitter Bootstrap 3](http://getbootstrap.com), and it is compatible on small devices.\n\n## Using Lumen Slackin\n\nYour team are using this project? Put your link here:\n\n- [CakePHP Brasil](http://slack.cakephpbrasil.com.br)\n- [Laravel Brasil](https://slack.laravel.com.br)\n- [VueSlack](http://vueslack.com)\n- [Sencha Brasil](http://sencha-br.wemersonjanuario.com.br)\n- [PHP Mexico](http://chat.phpmexico.mx)\n- [ScotlandPHP](https://slack.scotlandphp.co.uk)\n\n\u003e Note: Consider to send a PR to master branch.\n\n## License\n\n[DBAD](http://www.dbad-license.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvluzrmos%2Flumen-slackin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvluzrmos%2Flumen-slackin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvluzrmos%2Flumen-slackin/lists"}