{"id":19492118,"url":"https://github.com/blockpc/chat-livewire-pusher","last_synced_at":"2026-05-17T07:37:33.936Z","repository":{"id":119491126,"uuid":"415337065","full_name":"blockpc/chat-livewire-pusher","owner":"blockpc","description":"Simple chat with Livewire \u0026 Pusher","archived":false,"fork":false,"pushed_at":"2021-10-09T23:43:43.000Z","size":850,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T19:47:03.706Z","etag":null,"topics":[],"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/blockpc.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":"2021-10-09T14:48:10.000Z","updated_at":"2021-10-09T23:43:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"b27b70a9-1a11-40fc-81da-5359e10e33fc","html_url":"https://github.com/blockpc/chat-livewire-pusher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blockpc/chat-livewire-pusher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fchat-livewire-pusher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fchat-livewire-pusher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fchat-livewire-pusher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fchat-livewire-pusher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockpc","download_url":"https://codeload.github.com/blockpc/chat-livewire-pusher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fchat-livewire-pusher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285389437,"owners_count":27163377,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T21:19:22.186Z","updated_at":"2025-11-20T07:03:00.569Z","avatar_url":"https://github.com/blockpc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat en Tiempo Real  \n\n## Instalaciones Generales\n\n- Instalar TailwindCSS desde [aqui](https://tailwindcss.com/docs/guides/laravel)  \n\n`npm install -D tailwindcss@latest postcss@latest autoprefixer@latest`  \n`npx tailwindcss init`  \n\n- Instalar Livewire desde [aqui](https://laravel-livewire.com/docs/2.x/quickstart)  \n\n`composer require livewire/livewire`\n\n```html\n...\n    @livewireStyles\n\u003c/head\u003e\n\u003cbody\u003e\n    ...\n \n    @livewireScripts\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n- Instalar AlpineJS desde [aqui](https://alpinejs.dev/essentials/installation)\n\n`npm install alpinejs`  \n\n```js\n// Add to resources/js/app.js \nimport Alpine from 'alpinejs';\nwindow.Alpine = Alpine;\nAlpine.start();\n```\n\n`npm run dev`\n\n- Instalar yoeunes/toastr desde [aqui]()\n\n`composer require yoeunes/toastr`\n\n```html\n...\n    @livewireStyles\n    @toastr_css\n\u003c/head\u003e\n\u003cbody\u003e\n    ...\n \n    @livewireScripts\n    @jquery\n    @toastr_js\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nAdd to app.js  \n\n```js\n// Toastr Event\nwindow.addEventListener('alert', event =\u003e { \n    toastr[event.detail.type](event.detail.message, event.detail.title ?? '');\n    toastr.options = {\n        \"closeButton\": true,\n        \"progressBar\": true,\n    }\n});\n```\n\n`npm run dev`\n\n- Instalar Pusher desde [aqui](https://www.pusher.com/) y crear cuenta gratuita\n\n```\n// Cambiar en .env\n\nBROADCAST_DRIVER=pusher\n\nPUSHER_APP_ID=tu_id\nPUSHER_APP_KEY=tu_key\nPUSHER_APP_SECRET=tu_secret\nPUSHER_APP_CLUSTER=tu_cluste\n```\n\n- Crear HomeController  \n\n`php artisan make:controller HomeController`  \n\n```php\nclass HomeController extends Controller\n{\n    public function home()\n    {\n        return view('home');\n    }\n}\n```\n\n- Crear componentes livewire para formulario y chst  \n\n`php artisan make:livewire chat-form`  \n`php artisan make:livewire chat-list`  \n\n- Crear evento para mensajes  \n\n`php artisan make:event SendMessageEvent`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockpc%2Fchat-livewire-pusher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockpc%2Fchat-livewire-pusher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockpc%2Fchat-livewire-pusher/lists"}