When reading the documentation, you’ll notice that I provided two installation profiles:
- Default: has no examples. You should use this profile if you know what’s up and want to start with a clean slate.
- Full: has a complete working example including commandHandlers, eventListeners, domain classes, repositories, …
Both are very easy to set up and should provide you with the necessary tools to get you going.
The necessary tools
- a DI container
- CLI commands
- A CQRS implementation
- An AMQP implementation
- Database migrations
- A template engine
A lot of these functionalities rely on external packages. Why reinvent the wheel, right?
Some external packages that are used are:
- PHP-DI: The dependency injection container for humans
- Symfony console commands: The Console component eases the creation of beautiful and testable command line interfaces
- Doctrine migrations: offers additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema
- Twig: Twig, The flexible, fast, and secure template engine for PHP
If you want to start using the skeleton yourself, start off by reading the documentation.
It is far from complete, there might be bugs or features that are not included. For any feature requests, help posts, or bug reports, please open an issue in the issue queue. I’ll be happy to help you out.
Consider giving the repository a ⭐️ if you decide to use the skeleton: