PHP client for Kafka

Overview

PHP Kafka client

Total Downloads Latest Stable Version Unstable Version

Build Status Code Coverage

A library to allow people to communicate to Kafka using plain PHP, compatible with Kafka v0.11+ (due to the way the protocol works).

Installation

Package is available on Packagist, you can install it using Composer.

composer require lcobucci/kafka

Dependencies

  • PHP 8.0+ (64-bit only)

Documentation

Architectural decisions

This project uses ADRs to record all architectural decisions. The summary can be found here.

License

MIT, see LICENSE.

Comments
  • Doubt how to use.

    Doubt how to use.

    Hi @lcobucci

    Where I work, we use kafka with some other languages. In the case of php, I've already used this library https://github.com/arnaud-lb/php-rdkafka

    But it's been some time since I saw this library, but until today I haven't understood how to use it. I have this doubt because I didn't see any Consumer/Producer class.

    Do you have any example or code snippets?

    opened by dcorrea777 3
  • Bump infection/infection from 0.20.2 to 0.21.0

    Bump infection/infection from 0.20.2 to 0.21.0

    Bumps infection/infection from 0.20.2 to 0.21.0.

    Release notes

    Sourced from infection/infection's releases.

    describe command, --noop option, @infection-ignore-all and new mutators

    Full Changelog

    Added:

    Changed:

    • [BC BREAK] Removed OneZeroInteger mutator in favor of IncrementInteger/DecrementInteger mutators
    • [BC BREAK] Rename @zero_iteration profile to the @loop #1407
    Changelog

    Sourced from infection/infection's changelog.

    0.20.1 (2021-01-27)

    Full Changelog

    Added:

    Changed:

    • [BC BREAK] Removed OneZeroInteger mutator in favor of IncrementInteger/DecrementInteger mutators
    • [BC BREAK] Rename @zero_iteration profile to the @loop #1407

    0.20.0 (2020-11-01)

    Full Changelog

    Added:

    Changed:

    0.19.0 (2020-10-28)

    Full Changelog

    Added:

    • [MUTATOR] Introduce YieldValue mutator #1342

    ... (truncated)

    Commits
    • dfacb1e Remove duplicate line
    • 281f4dc Fix typo in the changelog
    • 4637710 Rename constants with symfony style HTTP_*
    • 859ffa6 Use composer install for autoreview github action instead of composer update
    • b45888d Expect status 200 as well as 201 for Stryker Dashboard
    • 437ebc7 Update CHANGELOG.md for 0.20, 0.21
    • edfe1bd Do not log by default (#1472)
    • 2c4804c Whitelist symfony polyfill bootstraps to whitelists to avoid call undefined f...
    • d133849 Introduce --noop option to run Noop mutators that does not change the sourc...
    • ab7b999 Add support for @infection-ignore-all annotation (#1468)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 3
  • Bump phpunit/php-code-coverage from 9.1.9 to 9.1.10

    Bump phpunit/php-code-coverage from 9.1.9 to 9.1.10

    Bumps phpunit/php-code-coverage from 9.1.9 to 9.1.10.

    Changelog

    Sourced from phpunit/php-code-coverage's changelog.

    [9.1.10] - 2020-09-18

    Added

    • SebastianBergmann\CodeCoverage\Driver\Selector::forLineCoverage() and SebastianBergmann\CodeCoverage\Driver\Selector::forLineAndPathCoverage() have been added

    Fixed

    • #810: SebastianBergmann\CodeCoverage\Driver\Driver::forLineCoverage() and SebastianBergmann\CodeCoverage\Driver\Driver::forLineAndPathCoverage() are marked as internal

    Removed

    • SebastianBergmann\CodeCoverage\Driver\Driver::forLineCoverage() and SebastianBergmann\CodeCoverage\Driver\Driver::forLineAndPathCoverage() are now deprecated
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @lcobucci.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 3
  • Bump phpstan/phpstan from 0.12.59 to 0.12.62

    Bump phpstan/phpstan from 0.12.59 to 0.12.62

    Bumps phpstan/phpstan from 0.12.59 to 0.12.62.

    Release notes

    Sourced from phpstan/phpstan's releases.

    0.12.62

    Support relative paths in extension-installer (https://github.com/phpstan/phpstan-src/commit/0e306c66ca4c6f31184e222ce5df04a17b4307ca), phpstan/extension-installer#17

    Starting with phpstan/phpstan 0.12.62 and phpstan/extension-installer 1.1.0, relative paths to extension configs are used. This allows the generated config to be moved across filesystems, for example from a host system to a Docker container.

    0.12.61

    Bugfixes 🐛

    Function signature fixes 🤖

    • Fix wrong function signature of posix_getpwuid and posix_getgrgid (#408), thanks @aragon999!

    0.12.60

    Improvements 🔧

    Bugfixes 🐛

    Function signature fixes 🤖

    Commits
    • 6323931 PHPStan 0.12.62
    • 95a4ee5 Exclude
    • 85f07e3 Updated PHPStan to commit 32590a136827ee6b4b357374dd99344f6e2f4458
    • 07b82b8 Updated PHPStan to commit 0e306c66ca4c6f31184e222ce5df04a17b4307ca
    • 82d148d Updated PHPStan to commit 5442609c7b305de0d8eae381fbeabbb0e90fc504
    • 856539c Do not exclude
    • 33591e3 Updated PHPStan to commit 67bc35e823e1532d498803ac88e1c740bb94d763
    • 2096111 PHPStan 0.12.61
    • 79dd826 Updated PHPStan to commit f677b73b97ea9dcc434a5b80f24c97169b5eed9b
    • f188734 Updated PHPStan to commit 9d9b5d6d3833f94a0453f90cccb45dbb311c3903
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Bump phpstan/phpstan from 0.12.59 to 0.12.61

    Bump phpstan/phpstan from 0.12.59 to 0.12.61

    Bumps phpstan/phpstan from 0.12.59 to 0.12.61.

    Release notes

    Sourced from phpstan/phpstan's releases.

    0.12.61

    Bugfixes 🐛

    Function signature fixes 🤖

    • Fix wrong function signature of posix_getpwuid and posix_getgrgid (#408), thanks @aragon999!

    0.12.60

    Improvements 🔧

    Bugfixes 🐛

    Function signature fixes 🤖

    Commits
    • 2096111 PHPStan 0.12.61
    • 79dd826 Updated PHPStan to commit f677b73b97ea9dcc434a5b80f24c97169b5eed9b
    • f188734 Updated PHPStan to commit 9d9b5d6d3833f94a0453f90cccb45dbb311c3903
    • 61ead6b Updated PHPStan to commit 5b89088469042b3599d67961e7a833f9838abfad
    • 5c37510 Updated PHPStan to commit 4827dcfca6a260da5eed2566450da12f170902c9
    • b644804 Updated PHPStan to commit 3131ba8cfc4edfd7883be95d27f3539bc9caf76a
    • ab2d9e3 Updated PHPStan to commit 2792f2e5b46a7b1dbce446ac20242cc66c897f1c
    • 66f4412 Bump ini from 1.3.5 to 1.3.8 in /website
    • 1382d3e My own token for create-release
    • 2f43c97 Fix tag_name + release_name for next time
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Bump phpstan/phpstan from 0.12.59 to 0.12.60

    Bump phpstan/phpstan from 0.12.59 to 0.12.60

    Bumps phpstan/phpstan from 0.12.59 to 0.12.60.

    Release notes

    Sourced from phpstan/phpstan's releases.

    0.12.60

    Improvements 🔧

    Bugfixes 🐛

    Function signature fixes 🤖

    Commits
    • d457792 PHPStan 0.12.60
    • 293c8b0 Updated PHPStan to commit 302b902087ada064945289f565e5fa33d6ac3cac
    • 2f2123d Fix cache key
    • 7c183a8 .travis.yml no longer needed
    • 6934a5e Release workflow
    • bc67b95 Fix
    • 7de1158 Update playground with GitHub Actions
    • 0781b6a Updated PHPStan to commit 51b501b8829284d8b050c6790ef06437af994c54
    • e7f14b9 Updated PHPStan to commit 252a9e085d3b80724a1162068e516beee18b516b
    • 5780e44 Updated PHPStan to commit bb03b16e2817edaae6ff2a037a0bff0eef3784f3
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Bump symfony/process from 5.1.5 to 5.1.6

    Bump symfony/process from 5.1.5 to 5.1.6

    Bumps symfony/process from 5.1.5 to 5.1.6.

    Release notes

    Sourced from symfony/process's releases.

    v5.1.6

    Changelog (https://github.com/symfony/process/compare/v5.1.5...v5.1.6)

    • no changes
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Bump nikic/php-parser from 4.9.1 to 4.10.0

    Bump nikic/php-parser from 4.9.1 to 4.10.0

    Bumps nikic/php-parser from 4.9.1 to 4.10.0.

    Release notes

    Sourced from nikic/php-parser's releases.

    PHP-Parser 4.10.0

    Added

    • [PHP 8.0] Added support for attributes. These are represented using a new AttributeGroup node containing Attribute nodes. A new attrGroups subnode is available on all node types that support attributes, i.e. Stmt\Class_, Stmt\Trait_, Stmt\Interface_, Stmt\Function_, Stmt\ClassMethod, Stmt\ClassConst, Stmt\Property, Expr\Closure, Expr\ArrowFunction and Param.
    • [PHP 8.0] Added support for nullsafe properties inside interpolated strings, in line with an upstream change.

    Fixed

    • Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.
    Changelog

    Sourced from nikic/php-parser's changelog.

    Version 4.10.0 (2020-09-19)

    Added

    • [PHP 8.0] Added support for attributes. These are represented using a new AttributeGroup node containing Attribute nodes. A new attrGroups subnode is available on all node types that support attributes, i.e. Stmt\Class_, Stmt\Trait_, Stmt\Interface_, Stmt\Function_, Stmt\ClassMethod, Stmt\ClassConst, Stmt\Property, Expr\Closure, Expr\ArrowFunction and Param.
    • [PHP 8.0] Added support for nullsafe properties inside interpolated strings, in line with an upstream change.

    Fixed

    • Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.
    Commits
    • 1c13d05 Release PHP-Parser 4.10.0
    • c7dc3ce Add basic FPPP support for attributes
    • 9f6ad68 Adjust skip list for moved test
    • 1899471 Update test for PHP 8 error behavior
    • 8505acd Correctly handle ?-> in encapsed strings
    • c3e20d9 Use 8.0.0beta4 to tests against
    • 4c22c62 [PHP 8.0] Add attributes support (#661)
    • f66a32e Emulate PHP 8 attribute syntax
    • 75abbbd Handle flexible heredoc via TokenEmulator
    • 39b0460 Refactor token emulator registration
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @lcobucci.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Update phpunit/phpunit requirement from ^8.5 to ^9.0

    Update phpunit/phpunit requirement from ^8.5 to ^9.0

    Updates the requirements on phpunit/phpunit to permit the latest version.

    Changelog

    Sourced from phpunit/phpunit's changelog.

    9.0.0 - 2020-02-07

    Added

    • Implemented #3797: Add support for multiple --whitelist options

    Changed

    • Implemented #3746: Improve developer experience of global wrapper functions for assertions
    • Implemented #3914: Refactor PHPUnit\Util\Configuration
    • Implemented #4024: Make PHPUnit\TextUI\ResultPrinter an interface
    • Multiple test case classes (classes that extend TestCase) that are declared in a single sourcecode file are no longer supported

    Removed

    • Implemented #3333: Remove annotation(s) for expecting exceptions
    • Implemented #3334: Drop support for PHP 7.2
    • Implemented #3339: Remove assertions (and helper methods) that operate on (non-public) attributes
    • Implemented #3342: Remove optional parameters of assertEquals() and assertNotEquals()
    • Implemented #3370: Remove assertInternalType() and assertNotInternalType()
    • Implemented #3426: Clean up assertContains() and assertNotContains()
    • Implemented #3495: Remove assertArraySubset()
    • Implemented #3523: Remove the setUseErrorHandler() method
    • Implemented #3630: Deprecate support for ClassName<*> as values for @covers and @uses annotations (this deprecation is not implemented in code, you will not get a deprecation warning when you use this feature in PHPUnit 9)
    • Implemented #3770: Deprecate MockBuilder::setMethods() (this deprecation is not implemented in code, you will not get a deprecation warning when you use this feature in PHPUnit 9)
    • Implemented #3776: Deprecate expectException(PHPUnit\Framework\Error\*)
    • Implemented #3951: Remove optional parameters of assertFileEquals() etc.
    • Implemented #3956: Remove support for doubling multiple interfaces
    • Implemented #3957: Remove expectExceptionMessageRegExp()
    • Implemented #4012: Remove class name as CLI argument
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Update infection/infection requirement from ^0.14.2 to ^0.14.4

    Update infection/infection requirement from ^0.14.2 to ^0.14.4

    Updates the requirements on infection/infection to permit the latest version.

    Release notes

    Sourced from infection/infection's releases.

    Added version number to ASCII banner (#809)

    Added:

    • Added version number to ASCII banner #809
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    Dependencies 
    opened by dependabot-preview[bot] 2
  • Update infection/infection requirement from ^0.12 to ^0.12 || ^0.13

    Update infection/infection requirement from ^0.12 to ^0.12 || ^0.13

    Updates the requirements on infection/infection to permit the latest version.

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

    You can always request more updates by clicking Bump now in your Dependabot dashboard.

    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    Dependencies 
    opened by dependabot-preview[bot] 2
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Awaiting Schedule

    These updates are awaiting their schedule. Click on a checkbox to get an update now.

    • [ ] Lock file maintenance

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Detected dependencies

    composer
    composer.json
    • psr/log ^3.0
    • react/socket ^1.12.0
    • infection/infection ^0.26
    • lcobucci/coding-standard ^9.0.0
    • monolog/monolog ^3.2
    • phpstan/extension-installer ^1.2.0
    • phpstan/phpstan ^1.9.6
    • phpstan/phpstan-deprecation-rules ^1.1.1
    • phpstan/phpstan-phpunit ^1.3.3
    • phpstan/phpstan-strict-rules ^1.4.4
    • phpunit/phpunit ^9.5.27
    docker-compose
    docker-compose.yml
    • bitnami/kafka 2.8.1
    • bitnami/kafka 2.8.1
    github-actions
    .github/workflows/coding-standards.yml
    • actions/checkout v3
    • shivammathur/setup-php 2.23.0
    • actions/cache v3.2.2
    .github/workflows/mutation-tests.yml
    • actions/checkout v3
    • shivammathur/setup-php 2.23.0
    • actions/cache v3.2.2
    • codecov/codecov-action v3.1.1
    .github/workflows/phpunit.yml
    • actions/checkout v3
    • shivammathur/setup-php 2.23.0
    • actions/cache v3.2.2
    .github/workflows/release-on-milestone-closed.yml
    • actions/checkout v3
    • laminas/automatic-releases 1.23.0
    • laminas/automatic-releases 1.23.0
    • laminas/automatic-releases 1.23.0
    • laminas/automatic-releases 1.23.0
    • laminas/automatic-releases 1.23.0
    .github/workflows/static-analysis.yml
    • actions/checkout v3
    • shivammathur/setup-php 2.23.0
    • actions/cache v3.2.2

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Update bitnami/kafka Docker tag to v3

    Update bitnami/kafka Docker tag to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | bitnami/kafka | major | 2.8.1 -> 3.3.1 |


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Implement ApiVersions API

    Implement ApiVersions API

    We may have brokers using different Kafka versions. To communicate properly with each one we must fetch the API versions for all messages (https://kafka.apache.org/protocol#The_Messages_ApiVersions).

    New feature 
    opened by lcobucci 0
  • Expose topic creation and removal via a console application

    Expose topic creation and removal via a console application

    To make this library a bit more useful we can have a console application that simplifies some tasks (similar to what's provided in https://github.com/apache/kafka/tree/trunk/core/src/main/scala/kafka/admin).

    We can extract this as a separate package in the future.

    New feature 
    opened by lcobucci 0
Owner
Luís Cobucci
A software engineer that also loves to share his thoughts about quality, tests and OOP. Member of the PHP community and contributor to open source projects.
Luís Cobucci
The Kafka Enqueue transport - This is an implementation of Queue Interop specification

Supporting Enqueue Enqueue is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and

Enqueue 40 Oct 6, 2022
Google-api-php-client - A PHP client library for accessing Google APIs

Google APIs Client Library for PHP Reference Docs https://googleapis.github.io/google-api-php-client/main/ License Apache 2.0 The Google API Client Li

Google APIs 8.4k Dec 30, 2022
PHP JSON-RPC 2.0 Server/Client Implementation with Automatic Client Class Generation via SMD

PHP JSON-RPC 2.0 Server/Client Implementation with Automatic Client Class Generation via SMD

Sergey Bykov 63 Feb 14, 2022
OpenAI API Client is a component-oriented, extensible client library for the OpenAI API. It's designed to be faster and more memory efficient than traditional PHP libraries.

OpenAI API Client in PHP (community-maintained) This library is a component-oriented, extensible client library for the OpenAI API. It's designed to b

Mounir R'Quiba 6 Jun 14, 2023
⚡️ Web3 PHP is a supercharged PHP API client that allows you to interact with a generic Ethereum RPC.

Web3 PHP is a supercharged PHP API client that allows you to interact with a generic Ethereum RPC. This project is a work-in-progress. Code and docume

Web3 PHP 665 Dec 23, 2022
A simple PHP GitHub API client, Object Oriented, tested and documented.

PHP GitHub API A simple Object Oriented wrapper for GitHub API, written with PHP. Uses GitHub API v3 & supports GitHub API v4. The object API (v3) is

KNP Labs 2k Jan 7, 2023
A simple Object Oriented PHP Client for Termii SMS API

Termii Client A simple Object Oriented PHP Client for Termii SMS API. Uses Termii API. Requirements PHP >= 7.2 Guzzlehttp ~6|~7 Installation Via Compo

Ilesanmi Olawale Adedotun 5 Feb 24, 2022
Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services

Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services

Xendit 96 Jan 6, 2023
php 8 client for the lemon.markets api

lemon.markets php client This repository contains a php 8+ compatible client for the https://lemon.markets API. The documentation of the API can be fo

Daniel Freudenberger 4 Nov 17, 2022
PHP client for Microsoft Azure Face API.

Microsoft Azure Face API PHP client A PHP library that utilizes Azure Face REST API. Requirements PHP >= 7.4 Installation composer require darmen/php-

Darmen Amanbayev 6 Sep 14, 2022
Google PHP API Client Services

Google PHP API Client Services

Google APIs 1.1k Dec 22, 2022
AltiriaSmsPhpClient, the official PHP client of Altiria

Altiria, cliente SMS PHP Altiria SMS PHP es un cliente que simplifica al máximo la integración de nuestro API para PHP. Por el momento, esta librería

Altiria 3 Dec 22, 2022
PHP Client for the GoFlink API

GoFlink PHP API Client This project is an unofficial library to communicate with the GoFlink API from your PHP project. Documentation about the API is

Rico Hageman 4 Oct 3, 2022
A PHP client for the official Kizeo Forms API V3+. 📌

Kizeo Forms API V3+ - PHP This is a Swagger generated doc for Kizeo REST API 3. You can find additionnal documentation here : Online documentation. Th

siapepfrance 1 Oct 26, 2021
Client for the Tenant Security Proxy in PHP

Tenant Security Client PHP Library A PHP client for implementing CMK within a vendor's infrastructure. Makes requests through an IronCore Tenant Secur

IronCore Labs 1 Nov 19, 2021
Shopee Open API v2 Client build with php

Shopee PHP Client This is a Shopee PHP Client, currently supported for API V2 in ShopeeOpenPlatform Composer Install composer require haistar/shopee-p

ravimukti 17 Dec 27, 2022
The official Previewify.app PHP Client

Previewify for PHP This is the official Previewify client for PHP. Support us Like our work? You can support us by purchasing one of our products. Ins

Flowframe 6 Jan 19, 2022
VideoColor PHP Search Client

This library is designed to find information about a movie and get the frame position using a screenshot from a video.

null 3 Oct 9, 2022
GitLab PHP API Client

GitLab PHP API Client We present a modern GitLab API v4 client for PHP. This is strongly based on php-github-api by KnpLabs. With this in mind, we now

 PHP GitLab API 868 Dec 30, 2022