Download the PHP package arquivei/laravel-skeleton-worker without Composer
On this page you can find all versions of the php package arquivei/laravel-skeleton-worker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-skeleton-worker
Laravel Skeleton Worker
Base project for command line workers using Laravel
Requirements
- PHP 8.1+
- Composer
- Git
- Docker Engine 17.09.0+
- docker-composer 1.26+
Creating a new worker
or
Edit .env
- APP_IDENTIFIER=
- COMPOSER_AUTH=
Usage
About Example Producer
- Variables taken from .env file or class initialization options
- Will post in the topic:
- KAFKA_PREFIX + EVENTS_STREAM
- com.arquivei.stonks-events
About Example Consumer
- Variables taken from .env file or class initialization options
- Will consume from the queue:
- KAFKA_PREFIX + EVENTS_STREAM + 'topic'
- com.arquivei.stonks-events.example-app_example-event
Run Example Producer or Consumer
- Edit .env with kafka information
- With artisan run the command example:consumer then example:producer
Run Example Integration Tests
-
Start docker compose with zookeeper, kafka and kafdrop:
- Run tests: ProducerCommandtTest.php and ExampleConsumerTest.php
- Go to http://localhost:9090 to see topics created in local kafka
All versions of laravel-skeleton-worker with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-rdkafka Version ^5.0
arquivei/events-sender Version 3.2.1
arquivei/laravel-health-checker Version 2.2.0
arquivei/laravel-prometheus-exporter Version 2.0.0
arquivei/php-kafka-consumer Version 2.3.1
laravel/framework Version 8.77.1
arquivei/log-adapter Version 1.0.0
spatie/data-transfer-object Version 3.7.2
ext-rdkafka Version ^5.0
arquivei/events-sender Version 3.2.1
arquivei/laravel-health-checker Version 2.2.0
arquivei/laravel-prometheus-exporter Version 2.0.0
arquivei/php-kafka-consumer Version 2.3.1
laravel/framework Version 8.77.1
arquivei/log-adapter Version 1.0.0
spatie/data-transfer-object Version 3.7.2
The package arquivei/laravel-skeleton-worker contains the following files
Loading the files please wait ....