{"id":34520544,"url":"https://github.com/leroy-merlin-br/metamorphosis","last_synced_at":"2026-01-23T17:02:08.154Z","repository":{"id":32954414,"uuid":"143462354","full_name":"leroy-merlin-br/metamorphosis","owner":"leroy-merlin-br","description":"Easy and flexible Kafka Library for Laravel and PHP 7","archived":false,"fork":false,"pushed_at":"2026-01-12T16:51:35.000Z","size":1347,"stargazers_count":42,"open_issues_count":6,"forks_count":11,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-01-12T22:20:13.144Z","etag":null,"topics":["hacktoberfest","kafka","laravel","php","php-library","pubsub"],"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/leroy-merlin-br.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":"docs/CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-03T18:49:36.000Z","updated_at":"2024-07-23T12:51:07.000Z","dependencies_parsed_at":"2023-10-17T03:01:50.136Z","dependency_job_id":"8be16ab0-e0a8-433a-a2d4-7b921832e877","html_url":"https://github.com/leroy-merlin-br/metamorphosis","commit_stats":{"total_commits":565,"total_committers":17,"mean_commits":33.23529411764706,"dds":0.6690265486725664,"last_synced_commit":"7825230e3c284307323cdfc64c5378d21c9f905b"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/leroy-merlin-br/metamorphosis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leroy-merlin-br%2Fmetamorphosis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leroy-merlin-br%2Fmetamorphosis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leroy-merlin-br%2Fmetamorphosis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leroy-merlin-br%2Fmetamorphosis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leroy-merlin-br","download_url":"https://codeload.github.com/leroy-merlin-br/metamorphosis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leroy-merlin-br%2Fmetamorphosis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28696520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","kafka","laravel","php","php-library","pubsub"],"created_at":"2025-12-24T04:52:30.598Z","updated_at":"2026-01-23T17:02:08.149Z","avatar_url":"https://github.com/leroy-merlin-br.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metamorphosis\n\n\u003e Easy and flexible Kafka Library for Laravel and PHP 7.\n\n![Metamorphosis](./docs/logo.png)\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/leroy-merlin-br/metamorphosis.svg?style=flat-square)](https://packagist.org/packages/leroy-merlin-br/metamorphosis)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](#license)\n[![Total Downloads](https://img.shields.io/packagist/dt/leroy-merlin-br/metamorphosis.svg?style=flat-square)](https://packagist.org/packages/leroy-merlin-br/metamorphosis)\n[![Build Status](https://github.com/leroy-merlin-br/metamorphosis/workflows/Tests/badge.svg)](https://github.com/leroy-merlin-br/metamorphosis/actions?query=workflow%3ATests)\n[![Coverage Status](https://app.codacy.com/project/badge/Coverage/68b086fe75294d3e8c21a72addccb1bc)](https://www.codacy.com/gh/leroy-merlin-br/metamorphosis/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=leroy-merlin-br/metamorphosis\u0026utm_campaign=Badge_Coverage)\n\n- [Introduction](#introduction)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Quick Usage Guide](docs/quick-usage.md)\n- [Advanced Usage Guide](docs/advanced.md)\n- [Upgrade Guide](docs/upgrade.md)\n- [Contributing](docs/CONTRIBUTING.md)\n- [License](#license)\n\n\n\u003ca name=\"introduction\"\u003e\u003c/a\u003e\n## Introduction\n\nMetamorphosis provides a simple, straight-forward implementation for working with Kafka inside Laravel applications.\n\nPrefer to read in other language?\n- [Português](readme.pt.md)\n\n\u003ca name=\"requirements\"\u003e\u003c/a\u003e\n## Requirements\n\n- PHP \u003e= 7.1\n- [Kafka Driver](https://github.com/edenhill/librdkafka)\n- [Kafka PHP Extension](https://github.com/arnaud-lb/php-rdkafka)\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n## Installation\n\n### 1. Install the Kafka driver\n\nOn Mac OSX, install librdkafka with homebrew:\n\n```bash\nbrew install librdkafka\n```\n\nOn Debian and Ubuntu, install librdkafka from the Confluent APT repositories,\nsee instructions [here](https://docs.confluent.io/current/installation/installing_cp/deb-ubuntu.html#get-the-software) and then install librdkafka:\n\n ```bash\napt install librdkafka-dev\n ```\n\nOn RedHat, CentOS, Fedora, install librdkafka from the Confluent YUM repositories,\ninstructions [here](https://docs.confluent.io/current/installation/installing_cp/rhel-centos.html#get-the-software) and then install librdkafka:\n\n```bash\nyum install librdkafka-devel\n```\n\nOn Windows, reference [librdkafka.redist](https://www.nuget.org/packages/librdkafka.redist/) NuGet package in your Visual Studio project.\n\n### 2. Install the PHP Kafka extension\n\nOn Linux, Unix and OS X, you can install extensions using the PHP Extension Community Library ([PECL](https://www.php.net/manual/en/install.pecl.intro.php)):\n\n```bash\npecl install rdkafka\n```\n\nthen add the following to your .ini file:\n\n```\nextension=rdkafka.so\n```\n\u003e **Important:** When using multiple PHP versions, PECL will install the package for the latest PHP version only. To set a PHP version, download the source code and compile it specifying the target PHP version.\n\nPHP 7.4 example:\n\n```bash\npecl download rdkafka\ntar -xvf rdkafka-X.x.x.tgz\ncd rdkafka-X.x.x\nphpize\n./configure --with-php-config=/usr/bin/php-config7.4\nmake\nsudo make install\n``` \n\nthen add the extension to your .ini file:\n\n```\nextension=rdkafka.so\n```\nMore about [compiling shared PECL extensions](https://www.php.net/manual/en/install.pecl.phpize.php)\n\nOn Windows, download the  [rdkafka DLL](https://pecl.php.net/package/rdkafka/),\nput the file in your PHP/ext folder and add the extension to your php.ini file:\n\n```\nextension=rdkafka.dll\n```\n\nMore about [PECL on Windows](https://www.php.net/manual/en/install.pecl.windows.php)\n\n### 3. Install Metamorphosis\n\nInstall the library via Composer:\n\n```bash\ncomposer require leroy-merlin-br/metamorphosis\n```\n\nAnd publish the config file with:\n\n```bash\nphp artisan vendor:publish --provider=\"Metamorphosis\\MetamorphosisServiceProvider\"\n```\n\nFor usage instructions, please refer to our [Quick Usage Guide](docs/quick-usage.md).\n\n\u003ca name=\"license\"\u003e\u003c/a\u003e\n## License\n\nMetamorphosis is free software distributed under the terms of the [MIT license](http://opensource.org/licenses/MIT)\n\n\u003ca name=\"additional_information\"\u003e\u003c/a\u003e\n## Additional information\n\nMetamorphosis was proudly built by the [Leroy Merlin Brazil](https://github.com/leroy-merlin-br) team. [See all the contributors](https://github.com/leroy-merlin-br/metamorphosis/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleroy-merlin-br%2Fmetamorphosis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleroy-merlin-br%2Fmetamorphosis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleroy-merlin-br%2Fmetamorphosis/lists"}