{"id":21341432,"url":"https://github.com/avto-dev/rabbitmq-api-client","last_synced_at":"2025-07-12T14:34:12.241Z","repository":{"id":44470749,"uuid":"171451854","full_name":"avto-dev/rabbitmq-api-client","owner":"avto-dev","description":"RabbitMQ API client","archived":false,"fork":false,"pushed_at":"2024-04-26T11:11:59.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T18:32:08.596Z","etag":null,"topics":["client","laravel-package","php","rabbitmq"],"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/avto-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-19T10:14:55.000Z","updated_at":"2024-04-26T10:59:13.000Z","dependencies_parsed_at":"2024-04-26T11:47:40.131Z","dependency_job_id":"0e2bd087-5b2d-445f-a166-86805944c93a","html_url":"https://github.com/avto-dev/rabbitmq-api-client","commit_stats":{"total_commits":22,"total_committers":8,"mean_commits":2.75,"dds":0.6818181818181819,"last_synced_commit":"4a300891aefde36bc95acae465393a8faad9984b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avto-dev%2Frabbitmq-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avto-dev%2Frabbitmq-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avto-dev%2Frabbitmq-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avto-dev%2Frabbitmq-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avto-dev","download_url":"https://codeload.github.com/avto-dev/rabbitmq-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225824750,"owners_count":17529906,"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":["client","laravel-package","php","rabbitmq"],"created_at":"2024-11-22T00:56:50.962Z","updated_at":"2025-07-12T14:34:12.236Z","avatar_url":"https://github.com/avto-dev.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://hsto.org/webt/59/df/45/59df45aa6c9cb971309988.png\" alt=\"Laravel\" width=\"70\" height=\"70\" /\u003e\n\u003c/p\u003e\n\n# RabbitMQ API Client\n\n[![Version][badge_packagist_version]][link_packagist]\n[![PHP Version][badge_php_version]][link_packagist]\n[![Build Status][badge_build_status]][link_build_status]\n[![Coverage][badge_coverage]][link_coverage]\n[![Downloads count][badge_downloads_count]][link_packagist]\n[![License][badge_license]][link_license]\n\nThis package adds into your PHP application RabbitMQ API client implementation.\n\n## Install\n\nRequire this package with composer using the following command:\n\n```bash\n$ composer require avto-dev/rabbitmq-api-client \"^2.0\"\n```\n\n\u003e Installed `composer` is required ([how to install composer][getcomposer]).\n\n\u003e You need to fix the major version of package.\n\nAfter that you can \"publish\" package configuration file using following command:\n\n```bash\n$ php artisan vendor:publish --provider=\"AvtoDev\\\\RabbitMqApiClient\\\\Frameworks\\\\Illuminate\\\\LaravelServiceProvider\"\n```\n\n## Usage\n\nAt first, you should create API client instance:\n\n```php\n\u003c?php\n\nuse AvtoDev\\RabbitMqApiClient\\Client;\nuse AvtoDev\\RabbitMqApiClient\\ConnectionSettings;\n\n$client = new Client(new ConnectionSettings('http://127.0.0.1:15672', 'guest', 'guest'));\n\n// And after that you can execute API commands, for example:\n\n$client::version();     // Client version, like `1.0.0`\n$client-\u003ehealthcheck(); // `true` or `false`\n$client-\u003equeueInfo('some-queue-name'); // Object with information about queue\n```\n\nIf you are using Laravel framework with registered package service-provider, you can resolve client instance using DI, for example:\n\n```php\n\u003c?php\n\nnamespace App\\Console\\Commands;\n\nuse AvtoDev\\RabbitMqApiClient\\ClientInterface;\n\nclass SomeCommand extends \\Illuminate\\Console\\Command\n{\n    /**\n     * The console command name.\n     *\n     * @var string\n     */\n    protected $name = 'some:command';\n\n    /**\n     * Execute the console command.\n     *\n     * @param ClientInterface $client\n     *\n     * @return void\n     */\n    public function handle(ClientInterface $client): void\n    {\n        $client-\u003ehealthcheck(); // `true` or `false`\n    }\n}\n```\n\n### Testing\n\nFor package testing we use `phpunit` framework and `docker` with `compose` plugin as develop environment. So, just write into your terminal after repository cloning:\n\n```bash\n$ make build\n$ make latest # or 'make lowest'\n$ make test\n```\n\n## Changes log\n\n[![Release date][badge_release_date]][link_releases]\n[![Commits since latest release][badge_commits_since_release]][link_commits]\n\nChanges log can be [found here][link_changes_log].\n\n## Support\n\n[![Issues][badge_issues]][link_issues]\n[![Issues][badge_pulls]][link_pulls]\n\nIf you will find any package errors, please, [make an issue][link_create_issue] in current repository.\n\n## License\n\nThis is open-sourced software licensed under the [MIT License][link_license].\n\n[badge_packagist_version]:https://img.shields.io/packagist/v/avto-dev/rabbitmq-api-client.svg?maxAge=180\n[badge_php_version]:https://img.shields.io/packagist/php-v/avto-dev/rabbitmq-api-client.svg?longCache=true\n[badge_build_status]:https://img.shields.io/github/actions/workflow/status/avto-dev/rabbitmq-api-client/tests.yml\n[badge_coverage]:https://img.shields.io/codecov/c/github/avto-dev/rabbitmq-api-client/master.svg?maxAge=60\n[badge_downloads_count]:https://img.shields.io/packagist/dt/avto-dev/rabbitmq-api-client.svg?maxAge=180\n[badge_license]:https://img.shields.io/packagist/l/avto-dev/rabbitmq-api-client.svg?longCache=true\n[badge_release_date]:https://img.shields.io/github/release-date/avto-dev/rabbitmq-api-client.svg?style=flat-square\u0026maxAge=180\n[badge_commits_since_release]:https://img.shields.io/github/commits-since/avto-dev/rabbitmq-api-client/latest.svg?style=flat-square\u0026maxAge=180\n[badge_issues]:https://img.shields.io/github/issues/avto-dev/rabbitmq-api-client.svg?style=flat-square\u0026maxAge=180\n[badge_pulls]:https://img.shields.io/github/issues-pr/avto-dev/rabbitmq-api-client.svg?style=flat-square\u0026maxAge=180\n[link_releases]:https://github.com/avto-dev/rabbitmq-api-client/releases\n[link_packagist]:https://packagist.org/packages/avto-dev/rabbitmq-api-client\n[link_build_status]:https://github.com/avto-dev/rabbitmq-api-client/actions\n[link_coverage]:https://codecov.io/gh/avto-dev/rabbitmq-api-client/\n[link_changes_log]:https://github.com/avto-dev/rabbitmq-api-client/blob/master/CHANGELOG.md\n[link_issues]:https://github.com/avto-dev/rabbitmq-api-client/issues\n[link_create_issue]:https://github.com/avto-dev/rabbitmq-api-client/issues/new/choose\n[link_commits]:https://github.com/avto-dev/rabbitmq-api-client/commits\n[link_pulls]:https://github.com/avto-dev/rabbitmq-api-client/pulls\n[link_license]:https://github.com/avto-dev/rabbitmq-api-client/blob/master/LICENSE\n[getcomposer]:https://getcomposer.org/download/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favto-dev%2Frabbitmq-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favto-dev%2Frabbitmq-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favto-dev%2Frabbitmq-api-client/lists"}