Skip to content

phpinnacle/pinnacle

Repository files navigation

PHPinnacle Framework

Latest Version on Packagist Software License Coverage Status Quality Score Total Downloads

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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages