{"id":21560678,"url":"https://github.com/dadapush/dadapush-php-client","last_synced_at":"2025-06-22T03:33:26.273Z","repository":{"id":56961239,"uuid":"196118346","full_name":"dadapush/dadapush-php-client","owner":"dadapush","description":"DaDaPush Client For PHP","archived":false,"fork":false,"pushed_at":"2019-07-30T04:07:44.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T04:33:03.765Z","etag":null,"topics":["dadapush","notification-api","notifications","push","push-notifications"],"latest_commit_sha":null,"homepage":"https://www.dadapush.com","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/dadapush.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":"2019-07-10T02:44:47.000Z","updated_at":"2019-07-30T04:07:46.000Z","dependencies_parsed_at":"2022-08-21T09:20:54.360Z","dependency_job_id":null,"html_url":"https://github.com/dadapush/dadapush-php-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dadapush/dadapush-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadapush","download_url":"https://codeload.github.com/dadapush/dadapush-php-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-php-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261231262,"owners_count":23127968,"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":["dadapush","notification-api","notifications","push","push-notifications"],"created_at":"2024-11-24T09:16:49.042Z","updated_at":"2025-06-22T03:33:21.263Z","avatar_url":"https://github.com/dadapush.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DaDaPushClient\n\nDaDaPush: Real-time Notifications App \n\nSend real-time notifications through our API without coding and maintaining your own app for iOS or Android devices.\n\nThis PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v1\n- Package version: 1.0.0\n- Build package: org.openapitools.codegen.languages.PhpClientCodegen\nFor more information, please visit [https://www.dadapush.com](https://www.dadapush.com)\n\n## Requirements\n\nPHP 5.5 and later\n\n## Installation \u0026 Usage\n\n### Composer\n\nTo install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:\n\n```json\n{\n    \"require\": {\n        \"dadapush/dadapush-php-client\": \"1.0.0\"\n    }\n}\n```\n\nor use git repo\n```json\n{\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/dadapush/dadapush-php-client.git\"\n    }\n  ],\n  \"require\": {\n    \"dadapush/dadapush-php-client\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n    require_once('/path/to/DaDaPushClient/vendor/autoload.php');\n```\n\n## Tests\n\nTo run the unit tests:\n\n```bash\ncomposer install\n./vendor/bin/phpunit\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n$apiInstance = new DaDaPushClient\\Api\\DaDaPushMessageApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client()\n);\n$body = new \\DaDaPushClient\\Model\\MessagePushRequest(); // \\DaDaPushClient\\Model\\MessagePushRequest | body\n$x_channel_token = 'x_channel_token_example'; // string | see: https://www.dadapush.com/channel/list\n\ntry {\n    $result = $apiInstance-\u003ecreateMessage($body, $x_channel_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DaDaPushMessageApi-\u003ecreateMessage: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n?\u003e\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://www.dadapush.com*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DaDaPushMessageApi* | [**createMessage**](docs/Api/DaDaPushMessageApi.md#createmessage) | **POST** /api/v1/message | push Message to a Channel\n*DaDaPushMessageApi* | [**deleteMessage**](docs/Api/DaDaPushMessageApi.md#deletemessage) | **DELETE** /api/v1/message/{messageId} | delete a Channel Message\n*DaDaPushMessageApi* | [**getMessage**](docs/Api/DaDaPushMessageApi.md#getmessage) | **GET** /api/v1/message/{messageId} | get a Channel Message\n*DaDaPushMessageApi* | [**getMessages**](docs/Api/DaDaPushMessageApi.md#getmessages) | **GET** /api/v1/messages | get Message List\n\n\n## Documentation For Models\n\n - [Action](docs/Model/Action.md)\n - [MessageObject](docs/Model/MessageObject.md)\n - [MessagePushRequest](docs/Model/MessagePushRequest.md)\n - [MessagePushResponse](docs/Model/MessagePushResponse.md)\n - [PageResponseOfMessageObject](docs/Model/PageResponseOfMessageObject.md)\n - [Result](docs/Model/Result.md)\n - [ResultOfMessageObject](docs/Model/ResultOfMessageObject.md)\n - [ResultOfMessagePushResponse](docs/Model/ResultOfMessagePushResponse.md)\n - [ResultOfPageResponseOfMessageObject](docs/Model/ResultOfPageResponseOfMessageObject.md)\n\n\n\n## Author\n\ncontacts@dadapush.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadapush%2Fdadapush-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-php-client/lists"}