Download the PHP package leroy-merlin-br/metamorphosis without Composer

On this page you can find all versions of the php package leroy-merlin-br/metamorphosis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package metamorphosis

Metamorphosis

Easy and flexible Kafka Library for Laravel and PHP 7.

Latest Version on Packagist 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:

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

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

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):

then add the following to your .ini file:

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:

then add the extension to your .ini file:

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:

More about PECL on Windows

3. Install Metamorphosis

Install the library via Composer:

And publish the config file with:

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.


All versions of metamorphosis with dependencies

PHP Build Version
Package Version
Requires ext-rdkafka Version >=4.0
ext-json Version *
guzzlehttp/guzzle Version ^6.5.0 || ^7.0
illuminate/support Version ^9.0 || ^10.0
illuminate/console Version ^9.0 || ^10.0
illuminate/config Version ^9.0 || ^10.0
php Version ^8.0
rg/avro-php Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leroy-merlin-br/metamorphosis contains the following files

Loading the files please wait ....