Skip to content
Use Commanded to build Elixir CQRS/ES applications
Branch: master
Clone or download
Latest commit 746a566 Jul 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Add `refute_receive_event` to event assertions helpers Jan 22, 2019
guides Release v0.19.0 Jul 3, 2019
lib Fix bug with ``. Jul 16, 2019
test Merge branch 'releases/v0.18' Jun 13, 2019
.formatter.exs Append events to event store test Oct 12, 2018
.gitignore gitignore .elixir_ls Apr 9, 2018
.travis.yml Release v0.19.0 Jul 3, 2019 Include Open Collective sponsors May 22, 2019 Include #295 in CHANGELOG Jul 17, 2019
LICENSE Include #291 in CHANGELOG Jun 27, 2019
mix.exs Release v0.19.0 Jul 3, 2019
mix.lock Release v0.18.1 Jun 13, 2019


Use Commanded to build your own Elixir applications following the CQRS/ES pattern.

Provides support for:

  • Command registration and dispatch.
  • Hosting and delegation to aggregates.
  • Event handling.
  • Long running process managers.

Commanded provides a solid technical foundation for you to build on. It allows you to focus on modelling your domain, the most important part of your app, creating a better application at a faster pace.

You can use Commanded with one of the following event stores for persistence:

Please refer to the CHANGELOG for features, bug fixes, and any upgrade advice included for each release.

Supporting Commanded

You can help support Commanded by helping to fund its ongoing development, new features, and releases.

MIT License

Build Status Join the chat at

This README and the following guides follow the master branch which may not be the currently published version.

Read the documentation for the latest published version of Commanded on Hex.


Used in production?

Yes, see the companies using Commanded.

Example application

Conduit is an open source, example Phoenix 1.3 web application implementing the CQRS/ES pattern in Elixir. It was built to demonstrate the implementation of Commanded in an Elixir application for the Building Conduit book.

Learn Commanded in 20 minutes

Watch Bernardo Amorim introduce CQRS and event sourcing at Code Beam SF 2018. Including a tutorial on how to implement an Elixir application using these concepts with Commanded.


Pull requests to contribute new or improved features, and extend documentation are most welcome.

Please follow the existing coding conventions, or refer to the Elixir style guide.

You should include unit tests to cover any changes. Run mix test to execute the test suite.


Commanded exists thanks to the following people who have contributed.

Need help?

Please open an issue if you encounter a problem, or need assistance. You can also seek help in the Gitter chat room for Commanded.

For commercial support, and consultancy, please contact Ben Smith.

You can’t perform that action at this time.