{"id":19245281,"url":"https://github.com/soketi/laravel-chat-app","last_synced_at":"2025-04-21T10:33:18.082Z","repository":{"id":37983813,"uuid":"429344639","full_name":"soketi/laravel-chat-app","owner":"soketi","description":"A small Laravel Chat app demo for soketi. 📡","archived":false,"fork":false,"pushed_at":"2023-02-27T05:03:15.000Z","size":459,"stargazers_count":82,"open_issues_count":14,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T12:49:24.893Z","etag":null,"topics":["app","chat","demo","example","laravel","pusher","realtime","soketi","websockets","ws"],"latest_commit_sha":null,"homepage":"","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/soketi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"rennokki"}},"created_at":"2021-11-18T08:02:47.000Z","updated_at":"2025-03-17T10:07:36.000Z","dependencies_parsed_at":"2024-01-23T17:13:51.940Z","dependency_job_id":"caa63657-0c85-4d74-a0d8-b638401d6043","html_url":"https://github.com/soketi/laravel-chat-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Flaravel-chat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Flaravel-chat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Flaravel-chat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Flaravel-chat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soketi","download_url":"https://codeload.github.com/soketi/laravel-chat-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250040421,"owners_count":21365101,"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":["app","chat","demo","example","laravel","pusher","realtime","soketi","websockets","ws"],"created_at":"2024-11-09T17:27:18.645Z","updated_at":"2025-04-21T10:33:17.643Z","avatar_url":"https://github.com/soketi.png","language":"PHP","funding_links":["https://github.com/sponsors/rennokki"],"categories":[],"sub_categories":[],"readme":"Laravel + soketi = \u003c3\n=====================\n\n![demo](demo.png)\n\nA small Laravel Chat app demo for soketi. 📡\n\n## Installing the project\n\nThe server requires:\n\n- Composer\n- Node.js + NPM (for soketi)\n- PHP 8.0+\n\n```bash\ngit clone git@github.com:soketi/laravel-chat-app.git\n```\n\n```bash\ncd laravel-chat-app\n```\n\n## Installing the chat room app\n\nRun the following chain commands to install the project:\n\n```bash\ncomposer install --ignore-platform-reqs \u0026\u0026 \\\ncp .env.example .env \u0026\u0026 \\\ntouch database/database.sqlite \u0026\u0026 \\\nphp artisan key:generate \u0026\u0026 \\\nphp artisan migrate:fresh --seed \u0026\u0026 \\\nphp artisan storage:link\n```\n\nOpen your `.env` file and configure the `PUSHER_*` credentials (which can be the same as the default ones below):\n\n```\nPUSHER_APP_KEY=app-key\nPUSHER_APP_ID=app-id\nPUSHER_APP_SECRET=app-secret\nPUSHER_HOST=127.0.0.1\nPUSHER_PORT=6001\n\nMIX_PUSHER_APP_KEY=\"${PUSHER_APP_KEY}\"\nMIX_PUSHER_HOST=\"${PUSHER_HOST}\"\nMIX_PUSHER_PORT=\"${PUSHER_PORT}\"\n```\n\nBuild the frontend assets:\n\n```bash\nnpm install \u0026\u0026 npm run dev\n```\n\nRun the internal server to make the HTTP server accessible on `http://127.0.0.1:8000`:\n\n```bash\nphp artisan serve\n```\n\n## Installing soketi\n\nYou can find multiple [installation methods](https://rennokki.gitbook.io/soketi-docs/getting-started/installation) for soketi, but for this project we assume you already have NPM installed:\n\n```bash\nnpm install -g @soketi/soketi@latest\n```\n\nTo launch the server, open a new terminal window and let it run in the background:\n\n```bash\nsoketi start\n```\n\n## Authentication\n\nThe seeders created three accounts. All accounts can be accessed with the password `password`:\n\n- `test@test.com`\n- `test2@test.com`\n- `test3@test.com`\n\n## Linting the code\n\nYou can lint the code for Vue:\n\n```bash\nnpm run lint\n```\n\nFor PHP, use the CSFixer command:\n\n```bash\nvendor/bin/php-cs-fixer fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoketi%2Flaravel-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoketi%2Flaravel-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoketi%2Flaravel-chat-app/lists"}