Skip to content

karol-dabrowski/messenger-symfony-example

Repository files navigation

Message buses in the Symfony project

The repository contains the code used in the series of posts about the Messenger component.

Codebase versions

Each version of the codebase has its own branch. Currently viewed version is the result of Event bus in Symfony application.

Requirements

  • PHP 7.2.5 or greater
  • MySQL 5.7 or greater
  • Composer

Project Setup

  1. Clone the repository
git clone https://github.com/karol-dabrowski/messenger-symfony-example.git -b event_bus
cd ./messenger-symfony-example
composer install
cp .env .env.local
  1. Edit .env.local file and paste your MySQL database credentials in DATABASE_URL.
  2. Create database (if it doesn't exist already) and run migrations.
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
  1. Run local server
php -S localhost:8000 -t public

Author

Karol Dabrowski

License

Released under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published