{"id":27700925,"url":"https://github.com/escapeboy/disqus","last_synced_at":"2026-05-01T19:33:16.354Z","repository":{"id":15987042,"uuid":"18730170","full_name":"escapeboy/disqus","owner":"escapeboy","description":"Laravel 4 Disqus Package","archived":false,"fork":false,"pushed_at":"2014-06-24T16:58:01.000Z","size":228,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T19:11:37.393Z","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/escapeboy.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}},"created_at":"2014-04-13T13:46:52.000Z","updated_at":"2015-08-02T14:19:44.000Z","dependencies_parsed_at":"2022-08-30T15:40:19.279Z","dependency_job_id":null,"html_url":"https://github.com/escapeboy/disqus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/escapeboy/disqus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapeboy%2Fdisqus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapeboy%2Fdisqus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapeboy%2Fdisqus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapeboy%2Fdisqus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/escapeboy","download_url":"https://codeload.github.com/escapeboy/disqus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapeboy%2Fdisqus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":"2025-04-25T19:10:43.210Z","updated_at":"2026-05-01T19:33:16.346Z","avatar_url":"https://github.com/escapeboy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel 4 Disqus Package v0.1\n======\n\nSimple package to work with Disqus\n\nInstallation\n======\nWith composer:\n```\n{\n    ...\n    \"require\": {\n        \"escapeboy/disqus\": \"dev-master\"\n    }\n}\n```\nRegister in `app/config/app.php`\n```php\n'providers' =\u003e array(\n    'Escapeboy\\Disqus\\DisqusServiceProvider',\n)\n```\n\nConfiguration\n======\nPublish configuration file\n```\nphp artisan config:publish escapeboy/disqus\n```\nIn `app/config/packages/escapeboy/disqus/config.php` edit configuration file:\n```php\nreturn array(\n\t\t'api_key' =\u003e '', // your disqus api key\n\t\t'api_secret' =\u003e '', // your disqus secret\n\t\t'api_version' =\u003e '3.0', // disqus API version used. Do not change it\n\t\t'cache_time' =\u003e 60, // cache time in minutes used to cache results\n\t\t'forum'\t=\u003e '' // your disqus forum (shortname)\n\t);\n```\n\nUsage\n======\n\nFor example we want to get from API info for some thread\nWe want section \"thread\", sub-section \"details\". \nAnd we provide \"thread:link\" (can use \"thread:ident\" or \"thread\")\nIt will return json.\nMore info here:\n[http://disqus.com/api/docs/threads/details/](http://disqus.com/api/docs/threads/details/)\n```php\n// Disqus::get($section, $method, $params=array()\n$thread = Disqus::get('threads', 'details', array('thread:link' =\u003e 'http://thread_url'));\n```\n\nSending data to Disqus\n```php\nDisqus::post('posts', 'create', array('message' =\u003e 'Yo! Nice thread!', 'thread' =\u003e 12));\n```\n\nSome shorthand functions\n======\n```php\n$comment_count = Disqus::commentsCount('http://thread_url'); // returns integer of comments count for given url\n```\n*... more functions comming in next releases*\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapeboy%2Fdisqus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fescapeboy%2Fdisqus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapeboy%2Fdisqus/lists"}