Skip to content

Sending email asynchronously using Symfony Messenger and RabbitMQ

Notifications You must be signed in to change notification settings

sd-404/async-symfony-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sending email asynchronously using Symfony Messenger and RabbitMQ

This tutorial is an example of sending email asynchronously using symfony/messenger and RabbitMQ.

In the app directory lives our application source code.

The utils directory Docker's services needed.

Requirements

Docker Services

  • Nginx
  • MySQL 8.0
  • PHP 7.4
  • RabbitMQ
  • PHPMyAdmin
  • MailHog

Installation

After cloning the repository.

Step 1 -- .env

You can change all variables and ports defined in the utils/docker/.env file.

Step 2 -- Build

cd utils/docker

docker-compose build

You can use the Makefile to build :

make build

Step 3 -- Symfony app install

docker-compose run --rm php bash

composer install

Usage

Start

docker-compose up -d

# same thing here you can use the Makefile
make up

Stop

docker-compose down --remove-orphans

# same thing here you can use the Makefile
make down

License

MIT

About

Sending email asynchronously using Symfony Messenger and RabbitMQ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published