{"id":16458603,"url":"https://github.com/nafiesl/laravel-echo-server-example","last_synced_at":"2025-02-27T04:42:04.009Z","repository":{"id":80216705,"uuid":"160196701","full_name":"nafiesl/laravel-echo-server-example","owner":"nafiesl","description":"Laravel-echo-server usage example on Laravel Todo List project.","archived":false,"fork":false,"pushed_at":"2018-12-08T13:14:48.000Z","size":437,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T22:15:03.258Z","etag":null,"topics":["laravel-echo-server","laravel-todo","realtime"],"latest_commit_sha":null,"homepage":null,"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/nafiesl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-03T13:39:10.000Z","updated_at":"2022-05-22T22:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddb143a8-ed2b-4d42-bb54-a1ad58160ac0","html_url":"https://github.com/nafiesl/laravel-echo-server-example","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/nafiesl%2Flaravel-echo-server-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafiesl%2Flaravel-echo-server-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafiesl%2Flaravel-echo-server-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafiesl%2Flaravel-echo-server-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nafiesl","download_url":"https://codeload.github.com/nafiesl/laravel-echo-server-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240980722,"owners_count":19888327,"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":["laravel-echo-server","laravel-todo","realtime"],"created_at":"2024-10-11T10:45:45.844Z","updated_at":"2025-02-27T04:42:03.986Z","avatar_url":"https://github.com/nafiesl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Echo Server - Example\n\nThis is a laravel-echo-server usage example on Laravel Todo List project. Implementing [Todolist-Vue-Laravel-Pusher](https://pusher.com/tutorials/todo-vue-laravel) tutorial with [Laravel Echo Server](https://github.com/tlaverdure/laravel-echo-server) package.\n\n![Laravel Echo Server Project Example](public/screenshots/todo-list-01.jpg)\n\n## How to use\n\n\u003e This requirements and installation steps are working on Ubuntu 16.04 or Linux Mint 18.3.\n\n### Preparations\n\nTo make this repo works as expected, we are need this requirements installed:\n\n1. Laravel Valet (I use [Valet Linux](https://github.com/cpriego/valet-linux))\n2. [Laravel Echo Server](https://github.com/tlaverdure/laravel-echo-server)\n3. Redis Server (`sudo apt install redis-server`)\n\n### Installation Steps\n\n1. Clone this repo. `$ git clone git@github.com:nafiesl/laravel-echo-server-example.git`\n2. `$ cd laravel-echo-server-example`\n3. `$ composer install`\n4. `$ cp .env.example .env`\n5. Set `BROADCAST_DRIVER=redis` and **database config** on `.env`\n6. `$ php artisan key:generate`\n7. `$ php artisan migrate`\n8. `$ valet link`\n9. `$ valet secure`\n10. `$ valet links` See this site has `X` on SSL column.\n11. `$ cp laravel-echo-server.json-example laravel-echo-server.json`\n12. Update your `laravel-echo-server.json` file:\n    - Set \"authHost\": \"https://laravel-echo-server-example.test\",\n    - Set \"sslCertPath\": \"/home/yourusername/.valet/Certificates/laravel-echo-server-example.test.crt\",\n    - Set \"sslKeyPath\": \"/home/yourusername/.valet/Certificates/laravel-echo-server-example.test.key\",\n13. `$ laravel-echo-server start`\n14. Open `https://laravel-echo-server-example.test` with separated browser window.\n15. Fill the form to add new task, or delete the existing task, we should see both task list got same reaction on user actions.\n\n## License\n\nPlease use and re-use however you want.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafiesl%2Flaravel-echo-server-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafiesl%2Flaravel-echo-server-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafiesl%2Flaravel-echo-server-example/lists"}