{"id":17370130,"url":"https://github.com/gianarb/girc","last_synced_at":"2025-03-27T18:45:20.102Z","repository":{"id":14156989,"uuid":"16862830","full_name":"gianarb/girc","owner":"gianarb","description":"IRC bot written in PHP","archived":false,"fork":false,"pushed_at":"2014-02-26T09:28:56.000Z","size":204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T21:43:41.759Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianarb.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}},"created_at":"2014-02-15T13:00:22.000Z","updated_at":"2018-11-27T03:58:03.000Z","dependencies_parsed_at":"2022-09-24T17:44:22.691Z","dependency_job_id":null,"html_url":"https://github.com/gianarb/girc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fgirc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fgirc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fgirc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fgirc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianarb","download_url":"https://codeload.github.com/gianarb/girc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245905247,"owners_count":20691753,"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-10-16T00:23:39.106Z","updated_at":"2025-03-27T18:45:20.079Z","avatar_url":"https://github.com/gianarb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Girc\nGirc is a simple irc Bot written in PHP.\n\n### Use Case\n``` php\n$con = new \\Girc\\Connection\\Socket(\"irc.freenode.net\", 6667);\n$bot = new \\Girc\\Bot($con);\n$bot-\u003egetEventManager()-\u003eattach(\"Bot::run\", function(\\Zend\\EventManager\\Event $e){\n    $b = $e-\u003egetParam('bot');\n    $m = $e-\u003egetParam('message');\n    if(preg_match(\"/!hello/\", $m)){\n        $b-\u003egetConnection()-\u003esend(\\Girc\\Command\\PrivMsg::send(\"#BotDiProva\", \"Hi!!\"));\n    }\n});\n$bot-\u003erun();\n```\n\n### Install\n``` bash\ngit clone https://github.com/gianarb/girc.git\ncd girc\ncomposer install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Fgirc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianarb%2Fgirc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Fgirc/lists"}