{"id":24362113,"url":"https://github.com/mskian/php-supabase-comments","last_synced_at":"2026-04-08T20:45:39.589Z","repository":{"id":273033929,"uuid":"918319305","full_name":"mskian/php-supabase-comments","owner":"mskian","description":"A Simple Comment system built using PHP and Supabase.","archived":false,"fork":false,"pushed_at":"2025-01-27T03:27:37.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T08:43:14.402Z","etag":null,"topics":["bulma","cloudflare-turnstile","comment-widget","comments","comments-system","css","curl","html","php","php-comment","postgresql","supabase","supabase-comments","supabase-db","supacomments"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/mskian.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}},"created_at":"2025-01-17T17:26:54.000Z","updated_at":"2025-02-15T09:01:32.000Z","dependencies_parsed_at":"2025-07-01T08:46:52.558Z","dependency_job_id":null,"html_url":"https://github.com/mskian/php-supabase-comments","commit_stats":null,"previous_names":["mskian/php-supabase-comments"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mskian/php-supabase-comments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fphp-supabase-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fphp-supabase-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fphp-supabase-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fphp-supabase-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskian","download_url":"https://codeload.github.com/mskian/php-supabase-comments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fphp-supabase-comments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bulma","cloudflare-turnstile","comment-widget","comments","comments-system","css","curl","html","php","php-comment","postgresql","supabase","supabase-comments","supabase-db","supacomments"],"created_at":"2025-01-18T22:49:17.508Z","updated_at":"2026-04-08T20:45:39.574Z","avatar_url":"https://github.com/mskian.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Supabase Comments\n\nA simple comment system built with PHP and Supabase.  \n\n![PHP Supbase Comments](./screenshot/3.png)  \n\n## Features\n\n- PHP (7.4 to 8.x.x) support\n- Supabase for storing comments in the database\n- Pagination for comments\n- Modern and responsive UI using Bulma CSS\n- Comprehensive security for input forms and spam prevention\n- Cloudflare Turnstile for additional spam protection  \n\n![PHP Supbase Comments](./screenshot/1.png)  \n\n![PHP Supbase Comments](./screenshot/2.png)  \n\n## setup\n\n- Create a database in Supabase: \u003chttps://supabase.com/docs/guides/database/overview\u003e\n\n```sql\n-- Create the table with necessary fields\nCREATE TABLE comments (\n    id SERIAL PRIMARY KEY,            -- Auto-incrementing primary key\n    name VARCHAR(255) NOT NULL,        -- Name of the user (max length 255)\n    comment TEXT NOT NULL,            -- Comment field to store user input\n    created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP -- Timestamp with timezone\n);\n```\n\n- Also, create Cloudflare Turnstile: \u003chttps://developers.cloudflare.com/turnstile/\u003e\n- Create a `.env` file to add the required API keys\n\n```env\n\n## Supabase\nsupabaseUrl=https://example.supabase.co\napiKey=\npkey=\ntable=comments\n\n## Cloudflare turnstile\nsecretKey=\nsiteKey=\nurl=https://challenges.cloudflare.com/turnstile/v0/siteverify\n\n```\n\n- View Single Comments/status by ID\n\n```sh\nhttp://localhost:6022/post.php?id=18\n```\n\n- SEO Friendly URL\n\n```sh\nRewriteEngine On\nRewriteRule ^post/([a-zA-Z0-9\\-]+)$ post.php?id=$1 [L,QSA]\n```\n\n```sh\nhttp://localhost:6022/post/18\n```\n\n- Done  \n\n## Base Concept\n\nThis project was inspired from Supacomments dev by [@mcnaveen](https://github.com/mcnaveen) - [Blazing fast comment system with Sveltejs and Supabase](https://github.com/mcnaveen/SupaComments)\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Fphp-supabase-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskian%2Fphp-supabase-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Fphp-supabase-comments/lists"}