Honeybee CQRS & ES integration with the Silex framework.
Bring up the Honeylex project on Docker as follows:
git clone email@example.com:honeylex/honeylex.git your-project cd your-project composer install --ignore-platform-reqs # don't forget to connect your shell with `eval $(docker-machine env default)` composer docker:up
Now you can run commands to setup the project:
composer honeylex project:configure composer honeylex migrate:up
Once containers are running your project will be ready and provisioned!
docker-machine ip defaultto find the IP (typically http://192.168.99.100)
You can add application secrets in the
var/secrets folder of your docker machine. The
var/docker/docker-compose.yml files also contain additional global project environment and secrets configuration.
The following docker commands are available via
composer from your host machine:
composer docker:up # create and start containers composer docker:down # stop and remove containers composer docker:start # start previously stopped containers composer docker:stop # stop/suspend running containers composer docker:prune # remove dangling volumes and stopped containers
Honeylex comes with a number of convenient tools to help project setup and maintenance. A complete list of commands can be found by running:
composer honeylex # alias of docker-compose run --rm php_cli ./bin/honeylex
A useful set of commands are provided for managing the following system features:
- Crates (portable code context bundles)
- Resources (entities such as aggregate roots & projections)
- Workers (long running asynchronous background processes)
- Events (managing the event store)
The bootstrapped Silex app is configured with support for the following service providers:
Additional security services are provided in Hlx\Security crate:
Read the Providers documentation for more details about Silex Service Providers.
Join us in building awesome scalable applications or ask questions here: