{"id":26480164,"url":"https://github.com/php-censor/flowdock-client","last_synced_at":"2025-03-20T02:06:15.208Z","repository":{"id":57039444,"uuid":"161965001","full_name":"php-censor/flowdock-client","owner":"php-censor","description":"A PHP library to interact with the Flowdock API (Mremi/Flowdock fork).","archived":false,"fork":false,"pushed_at":"2022-02-07T02:04:22.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T04:06:22.126Z","etag":null,"topics":["hacktoberfest"],"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/php-censor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-12-16T03:39:57.000Z","updated_at":"2022-02-07T02:03:31.000Z","dependencies_parsed_at":"2022-08-24T00:50:48.885Z","dependency_job_id":null,"html_url":"https://github.com/php-censor/flowdock-client","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-censor%2Fflowdock-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-censor%2Fflowdock-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-censor%2Fflowdock-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-censor%2Fflowdock-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-censor","download_url":"https://codeload.github.com/php-censor/flowdock-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244536446,"owners_count":20468349,"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":["hacktoberfest"],"created_at":"2025-03-20T02:06:14.573Z","updated_at":"2025-03-20T02:06:15.200Z","avatar_url":"https://github.com/php-censor.png","language":"PHP","readme":"Flowdock Client\n===============\n\nThis library allows you to interact with the [Flowdock](https://www.flowdock.com/) API. Flowdock client is fork of \n[Flowdock](https://github.com/mremi/Flowdock).\n\n**Basic Docs**\n\n* [Installation](#installation)\n* [Push API](#push-api)\n* [Contribution](#contribution)\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n\n## Installation\n\nOnly 1 step:\n\n### Download Flowdock using composer\n\nAdd Flowdock in your composer.json:\n\n```js\n{\n    \"require\": {\n        \"php-censor/flowdock-client\": \"dev-master\"\n    }\n}\n```\n\nNow tell composer to download the library by running the command:\n\n``` bash\n$ php composer.phar update php-censor/flowdock-client\n```\n\nComposer will install the library to your project's `vendor/php-censor` directory.\n\n\u003ca name=\"push-api\"\u003e\u003c/a\u003e\n\n## Push API\n\n### Chat\n\n```php\n\u003c?php\n\nuse FlowdockClient\\Api\\Push\\ChatMessage;\nuse FlowdockClient\\Api\\Push\\Push;\n\n$message = ChatMessage::create()\n    -\u003esetContent('This message has been sent with php-censor/flowdock-client PHP library')\n    -\u003esetExternalUserName('php-censor)\n    -\u003eaddTag('#hello-world');\n\n$push = new Push('your_flow_api_token');\n\nif (!$push-\u003esendChatMessage($message, array('connect_timeout' =\u003e 1, 'timeout' =\u003e 1))) {\n    // handle errors...\n    $message-\u003egetResponseErrors();\n}\n```\n\nYou can also do it in your console, look at the help message:\n\n```bash\n$ bin/flowdock send-chat-message --help\n```\n\nSome arguments are mandatory:\n\n```bash\n$ bin/flowdock send-chat-message your_flow_api_token \"This message has been sent with php-censor/flowdock-client PHP library\" php-censor\n```\n\nSome options are available:\n\n```bash\n$ bin/flowdock send-chat-message your_flow_api_token \"This message has been sent with php-censor/flowdock-client PHP library\" php-censor --message-id=12 --tags=\"#hello\" --tags=\"#world\" --options='{\"connect_timeout\":1,\"timeout\":1}'\n```\n\n### Team Inbox\n\n```php\n\u003c?php\n\nuse FlowdockClient\\Api\\Push\\Push;\nuse FlowdockClient\\Api\\Push\\TeamInboxMessage;\n\n$message = TeamInboxMessage::create()\n    -\u003esetSource('source')\n    -\u003esetFromAddress('test@test.com')\n    -\u003esetSubject('subject')\n    -\u003esetContent('This message has been sent with php-censor/flowdock-client PHP library');\n\n$push = new Push('your_flow_api_token');\n\nif (!$push-\u003esendTeamInboxMessage($message, array('connect_timeout' =\u003e 1, 'timeout' =\u003e 1))) {\n    // handle errors...\n    $message-\u003egetResponseErrors();\n}\n```\n\nYou can also do it in your console, look at the help message:\n\n```bash\n$ bin/flowdock send-team-inbox-message --help\n```\n\nSome arguments are mandatory:\n\n```bash\n$ bin/flowdock send-team-inbox-message your_flow_api_token source \"test@test.com\" subject \"This message has been sent with php-censor/flowdock-client PHP library\"\n```\n\nSome options are available:\n\n```bash\n$ bin/flowdock send-team-inbox-message your_flow_api_token source \"test@test.com\" subject \"This message has been sent with php-censor/flowdock-client PHP library\" --from-name=php-censor --reply-to=\"test@test.com\" --project=project --format=html --link=\"http://www.flowdock.com/\" --tags=\"#hello\" --tags=\"#world\" --options='{\"connect_timeout\":1,\"timeout\":1}'\n```\n\n...and more features coming soon...\n\n\u003ca name=\"contribution\"\u003e\u003c/a\u003e\n\n## Contribution\n\nAny question or feedback? Open an issue and I will try to reply quickly.\n\nA feature is missing here? Feel free to create a pull request to solve it!\n\nI hope this has been useful and has helped you. If so, share it and recommend\nit! :)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-censor%2Fflowdock-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-censor%2Fflowdock-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-censor%2Fflowdock-client/lists"}