honeylex / honeylex
Honeybee CQRS & ES integration with the Silex framework.
Installs: 179
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 6
Forks: 2
Open Issues: 8
Type:project
Requires
- php: >=5.6.1
- beberlei/assert: ~2.5
- guzzlehttp/guzzle: ^6.2.1
- honeybee/honeybee: master@dev
- nesbot/carbon: ~1.21
- php-amqplib/php-amqplib: master@dev
- rdlowrey/auryn: ~1.1
- roave/security-advisories: master@dev
- silex/silex: ~2.0
- symfony/asset: ~2.8|~3.1
- symfony/browser-kit: ~2.8|~3.1
- symfony/class-loader: ~2.8|~3.1
- symfony/config: ~2.8|~3.1
- symfony/console: ~2.8|~3.1
- symfony/css-selector: ~2.8|~3.1
- symfony/finder: ~2.8|~3.1
- symfony/form: ~2.8|~3.1
- symfony/monolog-bridge: ~2.8|~3.1
- symfony/process: ~2.8|~3.1
- symfony/serializer: ~2.8|~3.1
- symfony/translation: ~2.8|~3.1
- symfony/twig-bridge: ~2.8|~3.1
- symfony/validator: ~2.8|~3.1
- willdurand/negotiation: ~2.0
Requires (Dev)
- phpunit/phpunit: ~5.3
- silex/web-profiler: ~2.0
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2025-02-15 21:22:36 UTC
README
Project template for building rapidly scalable applications based on the integration of the Honeybee CQRS & ES framework with the Silex micro framework based on Symfony components.
Alternative Honeybee Integrations
- Honeylex-CMF (Honeylex + CMS tooling)
- Honeyquip (Honeybee + Equip)
- Honeygavi (Honeybee + Agavi)
Installation
Docker
You can have Honeylex running very quickly with Docker and Composer.
If you do not already have Docker, first install it then create a machine with Virtualbox if required.
Bring up the Honeylex project on Docker as follows:
git clone git@github.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!
Run
docker-machine ip default
to find the IP (typically http://192.168.99.100)
- Secure site https://192.168.99.100 (untrusted certs in dev mode)
- Elasticsearch admin at http://192.168.99.100:9100
- CouchDB admin at http://192.168.99.100:5984/_utils
- RabbitMQ admin at http://192.168.99.100:15672
You can add application secrets in the var/secrets
folder of your docker machine. The .env
and 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
Console
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:
- Configuration
- Crates (portable code context bundles)
- Resources (entities such as aggregate roots & projections)
- Migrations
- Fixtures
- Workers (long running asynchronous background processes)
- Events (managing the event store)
- Routing
Registered Silex service providers
The bootstrapped Silex app is configured with support for the following service providers:
- AssetServiceProvider
- FormServiceProvider
- LocaleServiceProvider
- MonologServiceProvider
- SessionServiceProvider
- SerializerServiceProvider
- ServiceControllerServiceProvider
- SwiftmailerServiceProvider
- TranslationServiceProvider
- TwigServiceProvider
- UrlGeneratorServiceProvider
- ValidatorServiceProvider
- WebProfilerServiceProvider
Additional security services are provided in Hlx\Security crate:
Read the Providers documentation for more details about Silex Service Providers.
Questions?
Join us in building awesome scalable applications or ask questions here:
- Gitter honeybee #Lobby
- IRC freenode #honeybee