This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erifying that I control the following Nostr public key: npub18wxf0t5jsmcpy57ylzx595twskx8eyj382lj7wp9rtlhzdg5hnnqvt4xra. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql: set up event store tables on database event_store_tests | |
mariadb: set up event store tables on database event_store_tests | |
postgres: set up event store tables on database event_store_tests | |
arangodb: set up event store tables on database _system | |
test 1 create 10 streams with 100 events in each stream, using 1 event per commit | |
test 1 using mysql took 9.0940508842468 seconds | |
test 1 using mysql writes 109.9619974342 events per second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace f; | |
use ReflectionFunction; | |
const curry = 'f\curry'; | |
function curry(callable $f, ...$args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is part of the prooph/event-store-http-api. | |
* (c) 2016-2016 prooph software GmbH <[email protected]> | |
* (c) 2016-2016 Sascha-Oliver Prolic <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/prolic/HumusAmqp | |
cd HumusAmqp | |
composer install | |
php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-html=html | |
// output | |
PHPUnit 5.2.10 by Sebastian Bergmann and contributors. | |
Runtime: PHP 7.0.3 with Xdebug 2.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$connection1 = new \AMQPConnection(); | |
$connection1->connect(); | |
$connection2 = new \AMQPConnection(); | |
$connection2->connect(); | |
$channel1 = new \AMQPChannel($connection1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
$amqpLibConnection = new \PhpAmqpLib\Connection\AMQPStreamConnection( | |
'localhost', | |
5672, | |
'guest', | |
'guest', | |
'/humus-amqp-test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A minor patch to the aggregate repository is needed for this! see: https://github.com/prooph/event-store/pull/154 | |
<?php | |
abstract class User extends \Prooph\EventSourcing\AggregateRoot | |
{ | |
protected $type; | |
public function type() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +prolic is my blockchain ID. https://onename.com/prolic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src | |
App | |
Commanding | |
Container | |
Querying | |
Rbac | |
BoundedContext1 | |
Container | |
Infrastructure | |
Model |
NewerOlder