Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/contributte/messenger-skeleton

📤📥 Example of integration of Symfony Messenger to Nette (@nette) by @f3l1x
https://github.com/contributte/messenger-skeleton

async bus command-bus console doctrine event-bus http message-bus messenger nette project rabbitmq redis skeleton web

Last synced: 3 months ago
JSON representation

📤📥 Example of integration of Symfony Messenger to Nette (@nette) by @f3l1x

Awesome Lists containing this project

README

        

![](https://heatbadger.now.sh/github/readme/contributte/messenger-skeleton/)














Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte




-----

## Goal

Main goal is to provide example of first class integration of [Symfony Messenger](https://github.com/contributte/messenger) to [Nette](https://nette.org).

## Installation

You will need `PHP 8.2+` and [Composer](https://getcomposer.org/).

Create project using composer.

```bash
composer create-project -s dev contributte/messenger-skeleton acme
```

Now you have application installed. It's time to run it.

## Startup

### HTTP

You need to spin webserver to display your application.

```bash
make dev
# php -S 0.0.0.0:8000 -t www
```

Then visit [http://localhost:8000](http://localhost:8000) in your browser.

### Console

You need to run consumer to consume messages.

```bash
make consume
# bin/console messenger:consume redis
```

### Docker

You need to spin docker containers with redis and postgres to store & read messages according to your transports.

```bash
make docker-up
# docker compose up
```

## Development

See [how to contribute](https://contributte.org/contributing.html) to this package.

This package is currently maintaining by these authors.



-----

Consider to [support](https://contributte.org/partners.html) **contributte** development team. Also thank you for using this project.