phpinnacle / pinnacle
PHPinnacle Framework
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.2
- ext-json: ^1.6
- ext-mbstring: ^7.2
- amphp/log: dev-master
- enqueue/amqp-lib: ^0.9
- enqueue/enqueue: ^0.9
- phpinnacle/ensign: ^1.0
- phpinnacle/identity: ^0.1
- psr/container: ^1.0
- psr/log: ^1.0
- symfony/dotenv: ^4.0
Requires (Dev)
- enqueue/fs: ^0.9.0
- nikic/php-parser: ^4.0
- phpunit/phpunit: ^6.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-10-15 06:00:43 UTC
README
PHPinnacle provides full featured stack for message based applications with support CQRS and Event Sourcing.
Install
Via Composer
$ composer require phpinnacle/pinnacle
Basic Usage
<?php use Amp\Loop; use PHPinnacle\Pinnacle\ApplicationBuilder; use PHPinnacle\Pinnacle\Loader; require __DIR__ . '/vendor/autoload.php'; $builder = new ApplicationBuilder('myapp'); $builder ->transport('amqp://localhost:5672') ->container($psrContainer) ->logger($psrLogger) ->load(new Loader\ServiceLoader('Acme\\Demo\\Services')) ; Loop::run(function () use ($builder) { $app = $builder->build(); yield $app->run(); });
More examples can be found in examples
directory.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email dev@phpinnacle.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.