Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Rdkafka Ffi Laravel Package

idealo/php-rdkafka-ffi

Unmaintained Kafka client for PHP 7.4–8.0 using FFI bindings to librdkafka, compatible with php-rdkafka interfaces. Supports producer (transactions), consumer, admin client, mock cluster for tests, and callback-based error/log handling.

View on GitHub
Deep Wiki
Context7
0.3.0

Added

  • Add support for rd_kafka_err2name
  • Add opaque reference handling in Configs & Callbacks, produce & Message
0.2.0

This pre-release supports PHP ^7.4 and ^8.0 and librdkafka v1.0.0 - v1.5.3. It is compatible with the PHP RdKafka extension ^4.0.

Note: Transactional Producer is no longer marked as experimental.

Fixed

  • Fix empty TopicPartition metadata handling

Added

  • Add TopicPartition::getMetadataSize()
  • Add support for librdkafka v1.5.3

Changed

  • Rename KafkaError to KafkaErrorException and change its interface for rdkafka extension compatibility with v4.1.*
  • Suggests pcntl extension (instead of requires)
0.1.0

This first pre-release supports PHP ^7.4 and ^8.0 and librdkafka v1.0.0 - v1.5.2. It is compatible with the PHP RdKafka extension 4.0.*.

Note: features marked as experimental are stable, but the interface may change in future releases.

Special thanks to [@siad007](https://github.com/siad007) and [@carusogabriel]( https://github.com/carusogabriel) for early fixes and tweaks.

Added

  • Add Consumer (low and high level)
  • Add Producer (with support for experimental transactional producing)
  • Add Admin Client (experimental)
  • Add Mock Cluster to simplify integration tests (experimental)
  • Add FFI binding for librdkafka 1.0.0 - 1.5.2
  • Add examples and basic documentation
  • Add benchmarks
0.6.0

This pre-release improves compatible with the PHP RdKafka extension ^5.0 and ^6.0.

Added

  • Add support for PHP 8.3 and 8.4
  • Add support for librdkafka 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.5.0, 2.5.3, 2.6.0, 2.6.1, 2.8.0

Changed

  • Change internal usage for deprecated static FFI::new(), FFI:;cast(), FFI::type()

Fixed

  • Fix handling of native transaction error lifecycle
0.5.0

This pre-release improves compatible with the PHP RdKafka extension ^5.0 and ^6.0.

Note: compatibility with PHP RdKafka extension ^4.0 is no longer supported.

Added

  • Add explicit support for PHP 8.1 and 8.2
  • Add support for librdkafka v1.6.2, v1.9.0, v1.9.1, v1.9.2, v2.0.0, v2.0.1, v2.0.2

Fixed

  • Fix Message header & len type handling
    • Message::headers is now always of type array
    • Message::len is null if payload is null
  • Fix Collection:key() and Collection::current() type handling
    • Collection:key() always returns int
0.4.0

This pre-release improves compatible with the PHP RdKafka extension ^4.0 and ^5.0.

Added

  • Add pausePartitions/resumePartitions to Producer/ KafkaConsumer
  • Add deleteRecords, deleteConsumerGroupOffsets and deleteGroups to Admin Client
  • Add support for librdkafka v1.6.0, v1.6.1, v1.7.0, v1.8.0, v1.8.2

Changed

  • Rename Message::_private to ::opaque
  • Mark consumeCallback in ConsumerTopic as deprecated (it is deprecated in librdkafka since v1.4.0)

Fixed

  • Fix headers param in ProducerTopic::producev does not accept null
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui