{"id":50148605,"url":"https://github.com/rayiumir/phpchat","last_synced_at":"2026-05-24T07:02:19.685Z","repository":{"id":335002150,"uuid":"1142711971","full_name":"Rayiumir/phpchat","owner":"Rayiumir","description":"A simple chat application written in PHP.","archived":false,"fork":false,"pushed_at":"2026-01-27T23:19:25.000Z","size":846,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-28T12:49:33.771Z","etag":null,"topics":["chat","chat-app","chat-application","chatapp","chatroom","php","php-chat","php-chat-app","php-chat-application","php-chat-messaging-authentication","php-chatroom","php8","phpchat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rayiumir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-26T19:02:47.000Z","updated_at":"2026-01-27T23:21:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Rayiumir/phpchat","commit_stats":null,"previous_names":["rayiumir/phpchat"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Rayiumir/phpchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2Fphpchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2Fphpchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2Fphpchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2Fphpchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayiumir","download_url":"https://codeload.github.com/Rayiumir/phpchat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2Fphpchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33424573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"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":["chat","chat-app","chat-application","chatapp","chatroom","php","php-chat","php-chat-app","php-chat-application","php-chat-messaging-authentication","php-chatroom","php8","phpchat"],"created_at":"2026-05-24T07:02:17.132Z","updated_at":"2026-05-24T07:02:19.679Z","avatar_url":"https://github.com/Rayiumir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./logo/logo.png\"\u003e\n        \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"./logo/logo.png\"\u003e\n        \u003cimg alt=\"TaskSquad Logo\" src=\"./logo/logo.png\" style=\"width: 200px;\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\n# PHPChat\n\nA simple chat application written in PHP.\n\n# Features\n\n- Real-time messaging using AJAX\n- User authentication with username only\n- Automatic message cleanup (removes oldest messages when exceeding 20)\n- Emoji support with built-in emoji picker\n- Cross-Origin Resource Sharing (CORS) enabled\n- Secure database operations using PDO prepared statements\n- Responsive design for mobile and desktop\n- Recent emojis stored in localStorage\n- Auto-scrolling to latest messages\n- Duplicate message prevention\n- And simple and hassle-free installation\n\n# Installation\n\n1. Clone the repository\n```bash\ngit clone https://github.com/Rayiumir/phpchat.git\ncd PHPChat/\n```\n\n2. Create a database with the name `phpchat` for `DB_NAME`.\n2. Create User Account for `DB_USER` and `DB_PASSWORD`.\n3. import the `database.sql` file into your database.\n\n# Screenshots\n\n\u003ctable class=\"table\"\u003e\n\u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth scope=\"col\" width=\"1000px\"\u003eUsername\u003c/th\u003e\n      \u003cth scope=\"col\" width=\"1000px\"\u003eRoom Chat\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"./screenshots/img1.png\" width=\"100%\" alt=\"Username\"\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n        \u003cimg src=\"./screenshots/img2.png\" width=\"100%\" alt=\"Room Chat\"\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fphpchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayiumir%2Fphpchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fphpchat/lists"}