{"id":22022705,"url":"https://github.com/cj/pusher-php","last_synced_at":"2025-07-04T23:05:42.967Z","repository":{"id":63100962,"uuid":"750540","full_name":"cj/Pusher-PHP","owner":"cj","description":"PHP Interface to the Pusher API","archived":false,"fork":false,"pushed_at":"2010-06-17T13:40:41.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":35,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T23:05:40.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/cj.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":"2010-07-01T02:40:50.000Z","updated_at":"2020-01-30T05:08:58.000Z","dependencies_parsed_at":"2022-11-12T22:46:04.536Z","dependency_job_id":null,"html_url":"https://github.com/cj/Pusher-PHP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cj/Pusher-PHP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cj%2FPusher-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cj%2FPusher-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cj%2FPusher-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cj%2FPusher-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cj","download_url":"https://codeload.github.com/cj/Pusher-PHP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cj%2FPusher-PHP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632056,"owners_count":23491530,"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":[],"created_at":"2024-11-30T06:22:28.903Z","updated_at":"2025-07-04T23:05:42.948Z","avatar_url":"https://github.com/cj.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pusher PHP Library\n==================\n\nThis is a very simple PHP library to the Pusher API (http://pusherapp.com).\nUsing it is easy as pie:\n\n    require('Pusher.php');\n\n    $pusher = new Pusher($key, $secret, $app_id, $channel);\n    $pusher-\u003etrigger('my_event', 'hello world');\n\nDebugging\n---------\nYou can either turn on debugging by setting the third argument like so, to true:\n\n    $pusher-\u003etrigger('event', 'data', true)\n\nor with all requests:\n\n    $pusher = new Pusher($key, $secret, $app_id, $channel, true);\n\nOn failed requests, this will return the server's response, instead of false.\n\nChannels\n---------\nYou can specify the channel either while constructing the Pusher object as described above, or while triggering an event:\n\n    $pusher-\u003etrigger('event', 'data', null, 'channel');\n\nSocket id\n---------\nIn order to avoid duplicates you can optionally specify the sender's socket id while triggering an event (http://pusherapp.com/docs/duplicates):\n\n    $pusher-\u003etrigger('event','data','socket_id');\n\nLicense\n-------\nCopyright 2010, Squeeks. Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcj%2Fpusher-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcj%2Fpusher-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcj%2Fpusher-php/lists"}