commanded alternatives and similar packages
Based on the "Framework Components" category.
Alternatively, view commanded alternatives based on common mentions on social networks and blogs.
-
ex_admin
ExAdmin is an auto administration package for Elixir and the Phoenix Framework -
phoenix_html
Phoenix.HTML functions for working with HTML strings and templates -
phoenix_ecto
Phoenix and Ecto integration with support for concurrent acceptance testing -
absinthe_plug
Plug support for Absinthe, the GraphQL toolkit for Elixir -
phoenix_live_reload
Provides live-reload functionality for Phoenix -
params
Easy parameters validation/casting with Ecto.Schema, akin to Rails' strong parameters. -
phoenix_pubsub_redis
The Redis PubSub adapter for the Phoenix framework -
dayron
A repository `similar` to Ecto.Repo that maps to an underlying http client, sending requests to an external rest api instead of a database -
phoenix_token_auth
Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps. -
rummage_phoenix
Full Phoenix Support for Rummage. It can be used for searching, sorting and paginating collections in phoenix. -
sentinel
DEPRECATED - Phoenix Authentication library that wraps Guardian for extra functionality -
plug_rails_cookie_session_store
Rails compatible Plug session store -
phx_component_helpers
Extensible Phoenix liveview components, without boilerplate -
multiverse
Elixir package that allows to add compatibility layers via API gateways. -
filterable
Filtering from incoming params in Elixir/Ecto/Phoenix with easy to use DSL. -
access pass
provides a full user authentication experience for an API. Includes login,logout,register,forgot password, forgot username, confirmation email and all that other good stuff. Includes plug for checking for authenticated users and macro for generating the required routes. -
better_params
Cleaner request parameters in Elixir web applications 🙌 -
scrivener_headers
Scrivener pagination with headers and web linking -
phoenix_pubsub_rabbitmq
RabbitMQ adapter for Phoenix's PubSub layer -
plug_checkup
PlugCheckup provides a Plug for adding simple health checks to your app -
plug_rest
REST behaviour and Plug router for hypermedia web applications in Elixir -
trailing_format_plug
An elixir plug to support legacy APIs that use a rails-like trailing format: http://api.dev/resources.json -
Votex
Implements vote / like / follow functionality for Ecto models in Elixir. Inspired from Acts as Votable gem in Ruby on Rails -
phoenix_html_simplified_helpers
Some helpers for phoenix html( truncate, time_ago_in_words, number_with_delimiter, url_for, current_page? ) -
plug_canonical_host
PlugCanonicalHost ensures that all requests are served by a single canonical host.
Learn Elixir in as little as 12 Weeks
Do you think we are missing an alternative of commanded or a related project?
README
Commanded
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:
- EventStore - Elixir library using Postgres for persistence.
- EventStoreDB - a stream database built for Event Sourcing.
- In-memory event store - included for test use only.
Please refer to the [CHANGELOG](CHANGELOG.md) for features, bug fixes, and any upgrade advice included for each release.
Requires Erlang/OTP v21.0 and Elixir v1.9 or later.
Supporting Commanded
You can help support Commanded by helping to fund its ongoing development, new features, and releases.
- Become a GitHub sponsor
- [View sponsors & backers](BACKERS.md)
Sponsors
- [Changelog](CHANGELOG.md)
- Wiki
- What is CQRS/ES?
- Frequently asked questions
- Getting help
- Latest published Hex package & documentation
MIT License
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.
Overview
- [Getting started](guides/Getting%20Started.md)
- [Choosing an event store](guides/Choosing%20an%20Event%20Store.md)
- [PostgreSQL-based EventStore](guides/Choosing%20an%20Event%20Store.md#postgresql-based-elixir-eventstore)
- [Greg Young's Event Store](guides/Choosing%20an%20Event%20Store.md#greg-youngs-event-store)
- [Using Commanded](guides/Usage.md)
- [Aggregates](guides/Aggregates.md)
- [Example aggregate](guides/Aggregates.md#example-aggregate)
- [
Commanded.Aggregate.Multi
](guides/Aggregates.md#using-commandedaggregatemulti-to-return-multiple-events) - [Aggregate state snapshots](guides/Aggregates.md#aggregate-state-snapshots)
- [Commands](guides/Commands.md)
- [Command handlers](guides/Commands.md#command-handlers)
- [Command dispatch and routing](guides/Commands.md#command-dispatch-and-routing)
- [Define aggregate identity](guides/Commands.md#define-aggregate-identity)
- [Multi-command registration](guides/Commands.md#multi-command-registration)
- [Dispatch timeouts](guides/Commands.md#timeouts)
- [Dispatch consistency guarantee](guides/Commands.md#command-dispatch-consistency-guarantee)
- [Dispatch returning execution result](guides/Commands.md#dispatch-returning-execution-result)
- [Aggregate lifespan](guides/Commands.md#aggregate-lifespan)
- [Composite command routers](guides/Commands.md#composite-command-routers)
- [Middleware](guides/Commands.md#middleware)
- [Example middleware](guides/Commands.md#example-middleware)
- [Composite command routers](guides/Commands.md#composite-command-routers)
- [Events](guides/Events.md)
- [Domain events](guides/Events.md#domain-events)
- [Event handlers](guides/Events.md#event-handlers)
- [Consistency guarantee](guides/Events.md#consistency-guarantee)
- [Upcasting events](guides/Events.md#upcasting-events)
- [Process managers](guides/Process%20Managers.md)
- [Example process manager](guides/Process%20Managers.md#example-process-manager)
- [Supervision](guides/Supervision.md)
- [Serialization](guides/Serialization.md)
- [Default JSON serializer](guides/Serialization.md#default-json-serializer)
- [Configuring JSON serialization](guides/Serialization.md#configuring-json-serialization)
- [Decoding event structs](guides/Serialization.md#decoding-event-structs)
- [Using an alternative serialization format](guides/Serialization.md#using-an-alternative-serialization-format)
- [Customising serialization](guides/Serialization.md#customising-serialization)
- [Read model projections](guides/Read%20Model%20Projections.md)
- [Deployment](guides/Deployment.md)
- [Single node deployment](guides/Deployment.md#single-node-deployment)
- [Multi node cluster deployment](guides/Deployment.md#multi-node-cluster-deployment)
- [Multi node, but not clustered deployment](guides/Deployment.md#multi-node-but-not-clustered-deployment)
- [Testing with Commanded](guides/Testing.md)
- Used in production?
- Example application
- Learn Commanded in 20 minutes
- [Choosing an event store provider](guides/Choosing%20an%20Event%20Store.md#writing-your-own-event-store-provider)
- Tooling
- Contributing
- Need help?
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.
Contributing
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.
Contributors
Commanded exists thanks to the following people who have contributed.
- Adil Yarulin
- Alexandre de Souza
- Andrey Akulov
- Andrzej Sliwa
- Ben Smith
- Benjamin Moss
- Bernardo Amorim
- Brenton Annan
- Chris Brodt
- Chris Martin
- Christophe Juniet
- Danilo Silva
- Dave Lucia
- David Carlin
- Damir Vandic
- Danni Friedland
- Ernesto
- Fernando Mendes
- Florian Ebeling
- Henry Hazan
- JC
- Joan Zapata
- João Thallis
- John Wilger
- Joseph Lozano
- Kian-Meng Ang
- Kok J Sam
- Leif Gensert
- Luís Ferreira
- Marcelo Dominguez
- Matt Doughty
- Matthew Boehlig
- Michael Herold
- Miguel Palhas
- Nigel Thorne
- Olafur Arason
- Paolo Laurenti
- Patrick Detlefsen
- Phil Chen
- Raphaël Lustin
- Štefan Ľupták
- Tobiasz Małecki
- Willy Wombat
- Yordis Prieto
- Yuri de Figueiredo
- Zven
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.
*Note that all licence references and agreements mentioned in the commanded README section above
are relevant to that project's source code only.