jakulov / corpuscle
Corpuscle Framework Core Components
dev-master
2016-01-02 20:21 UTC
Requires
- jakulov/container: dev-master
- jakulov/corpuscle_log: dev-master
- jakulov/corpuscle_router: dev-master
- jakulov/event: dev-master
- symfony/psr-http-message-bridge: ^0.2.0
Requires (Dev)
- phpunit/phpunit: ^5.1
This package is not auto-updated.
Last update: 2024-12-21 20:03:07 UTC
README
It's very small middleware framework for fast building API micro services apps.
Can be installed with composer
composer require jakulov/corpuscle
1. What's included
- Container and dependency injection Container
- Corpuscle Router
- EventDispatcher
- Logger
- ControllerInterface and AbstractController for implementing application logic
- Config loader for loading php configuration files
- AppInterface and App for middleware itself, can handle HTTP requests, send response and provide containers for you
2. Third party components
- Symfony HTTP Foundation symfony/psr-http-message-bridge
- PSR Log psr/log
3. TODO
- Composer hooks for building config files / standalone
- Console App for creating and building projects / standalone
- Storage abstraction layer (generate model for object, find objects with filter & sort, creating & updating object, dispatching events) / standalone
- API Controller (easy to write own API controller, standard functions, request handler and response builder, generating API documentation) / included
- API Accessor (easy access to remote micro services API, abstraction for working with remote objects, generate models by remote API documentation, multiple parallel requests) / standalone
- Response Cache / standalone
- Micro service logger / standalone + app
- Micro service supervisor / app
- File Storage micro service / standalone + app
- Authentication micro service / standalone + app
- Data mining micro service / standalone + app
- Payments micro service / app
- Comments micro service / app
- Geo micro service / app
- Administration / app + frontend
Tests
Run: vendor/bin/phpunit tests/
Tests are also examples for usage library