All Projects → leroy-merlin-br → metamorphosis

leroy-merlin-br / metamorphosis

Licence: MIT license
Easy and flexible Kafka Library for Laravel and PHP 7

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to metamorphosis

payload
A javascript single page application (SPA) driver for REST API payload management.
Stars: ✭ 16 (-58.97%)
Mutual labels:  pubsub
one-pub-sub-lwc
One PubSub: A Declarative PubSub Library for Lightning Web Component and Aura Component
Stars: ✭ 19 (-51.28%)
Mutual labels:  pubsub
phoenix-postgresql-notify-listen-example
Publish/subscribe with PostgreSQL and Phoenix Framework
Stars: ✭ 16 (-58.97%)
Mutual labels:  pubsub
workers-pubsub
Google Pub/Sub API for Cloudflare Workers (and Node.js)
Stars: ✭ 25 (-35.9%)
Mutual labels:  pubsub
pyTwitchAPI
A Python 3.7 implementation of the Twitch API, EventSub and PubSub
Stars: ✭ 132 (+238.46%)
Mutual labels:  pubsub
pg-pubsub
Reliable PostgreSQL LISTEN/NOTIFY with inter-process lock support
Stars: ✭ 50 (+28.21%)
Mutual labels:  pubsub
fastapi websocket pubsub
A fast and durable Pub/Sub channel over Websockets. FastAPI + WebSockets + PubSub == ⚡ 💪 ❤️
Stars: ✭ 255 (+553.85%)
Mutual labels:  pubsub
iris3
An upgraded and improved version of the Iris automatic GCP-labeling project
Stars: ✭ 38 (-2.56%)
Mutual labels:  pubsub
cloud-pubsub
Google Cloud PubSub client in rust
Stars: ✭ 27 (-30.77%)
Mutual labels:  pubsub
pg-ipc
IPC over PostgreSQL LISTEN/NOTIFY/UNLISTEN exposed as an EventEmitter
Stars: ✭ 27 (-30.77%)
Mutual labels:  pubsub
dry-events
Pub/sub system
Stars: ✭ 102 (+161.54%)
Mutual labels:  pubsub
micro-signals
A tiny typed messaging system inspired by js-signals that uses ES2015 sets
Stars: ✭ 39 (+0%)
Mutual labels:  pubsub
ws.q
Simple library for websockets in kdb+/q
Stars: ✭ 27 (-30.77%)
Mutual labels:  pubsub
websub-hub
A WebSub Hub implementation in Node.js
Stars: ✭ 44 (+12.82%)
Mutual labels:  pubsub
emulator-tools
Google Cloud BigTable and PubSub emulator tools to make development a breeze
Stars: ✭ 16 (-58.97%)
Mutual labels:  pubsub
notification
OST Notification helps publish critical events for cross platform communications
Stars: ✭ 20 (-48.72%)
Mutual labels:  pubsub
google-cloud
A collection of Google Cloud Platform (GCP) plugins
Stars: ✭ 34 (-12.82%)
Mutual labels:  pubsub
kane
Google Pub/Sub client for Elixir
Stars: ✭ 92 (+135.9%)
Mutual labels:  pubsub
console-chat
Chat on your terminal with other users through a gRPC service
Stars: ✭ 21 (-46.15%)
Mutual labels:  pubsub
ipfs-chat
Real-time P2P messenger using go-ipfs pubsub. TUI. End-to-end encrypted texting & file-sharing. NAT traversal.
Stars: ✭ 84 (+115.38%)
Mutual labels:  pubsub

Metamorphosis

Easy and flexible Kafka Library for Laravel and PHP 7.

Metamorphosis

Latest Version on Packagist Software License Total Downloads Build Status Coverage Status

Introduction

Metamorphosis provides a simple, straight-forward implementation for working with Kafka inside Laravel applications.

Prefer to read in other language?

Requirements

Installation

1. Install the Kafka driver

On Mac OSX, install librdkafka with homebrew:

brew install librdkafka

On Debian and Ubuntu, install librdkafka from the Confluent APT repositories, see instructions here and then install librdkafka:

apt install librdkafka-dev

On RedHat, CentOS, Fedora, install librdkafka from the Confluent YUM repositories, instructions here and then install librdkafka:

yum install librdkafka-devel

On Windows, reference librdkafka.redist NuGet package in your Visual Studio project.

2. Install the PHP Kafka extension

On Linux, Unix and OS X, you can install extensions using the PHP Extension Community Library (PECL):

pecl install rdkafka

then add the following to your .ini file:

extension=rdkafka.so

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.

PHP 7.4 example:

pecl download rdkafka
tar -xvf rdkafka-X.x.x.tgz
cd rdkafka-X.x.x
phpize
./configure --with-php-config=/usr/bin/php-config7.4
make
sudo make install

then add the extension to your .ini file:

extension=rdkafka.so

More about compiling shared PECL extensions

On Windows, download the rdkafka DLL, put the file in your PHP/ext folder and add the extension to your php.ini file:

extension=rdkafka.dll

More about PECL on Windows

3. Install Metamorphosis

Install the library via Composer:

composer require leroy-merlin-br/metamorphosis

And publish the config file with:

php artisan vendor:publish --provider="Metamorphosis\MetamorphosisServiceProvider"

For usage instructions, please refer to our Quick Usage Guide.

License

Metamorphosis is free software distributed under the terms of the MIT license

Additional information

Metamorphosis was proudly built by the Leroy Merlin Brazil team. See all the contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].