-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from prooph/master
Merge changes
- Loading branch information
Showing
117 changed files
with
3,703 additions
and
782 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# for php-coveralls | ||
service_name: travis-ci | ||
src_dir: src | ||
coverage_clover: build/logs/clover.xml |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,25 @@ | |
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"example", | ||
"prooph", | ||
"proophessor", | ||
"zf2" | ||
"zend-expressive", | ||
"cqrs", | ||
"service bus", | ||
"event sourcing", | ||
"snapshots", | ||
"integration" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Alexander Miertsch", | ||
"email": "[email protected]", | ||
"homepage": "http://www.prooph.de" | ||
"homepage": "http://prooph-software.com/" | ||
}, | ||
{ | ||
"name": "Sandro Keil", | ||
"email": "[email protected]", | ||
"homepage": "http://prooph-software.com/" | ||
}, | ||
{ | ||
"name": "Sascha-Oliver Prolic", | ||
|
@@ -20,26 +31,35 @@ | |
], | ||
"homepage": "http://getprooph.org/", | ||
"require": { | ||
"php": "~5.5|~7.0", | ||
"prooph/event-store" : "^6.0", | ||
"php": "^5.5 || ^7.0", | ||
"aura/router" : "^2.3", | ||
"doctrine/dbal": "^2.5.4", | ||
"doctrine/migrations": "^1.4.1", | ||
"nicolopignatelli/valueobjects": "^3.0", | ||
"prooph/event-sourcing" : "^4.0", | ||
"prooph/service-bus" : "^5.0", | ||
"prooph/event-store" : "^6.3", | ||
"prooph/event-store-bus-bridge" : "^2.0", | ||
"zendframework/zend-expressive" : "^0.3", | ||
"zendframework/zend-servicemanager" : "~2.6", | ||
"zendframework/zend-config": "^2.5", | ||
"zendframework/zend-view": "^2.5", | ||
"zendframework/zend-filter": "^2.5", | ||
"aura/router" : "^2.3", | ||
"doctrine/dbal": "^2.5", | ||
"doctrine/migrations": "^1.0", | ||
"nicolopignatelli/valueobjects": "~3.0", | ||
"sandrokeil/interop-config": "^0.3.1" | ||
"prooph/psr7-middleware": "^0.3", | ||
"prooph/service-bus" : "^5.1", | ||
"roave/security-advisories": "dev-master", | ||
"sandrokeil/interop-config": "^1.0", | ||
"zendframework/zend-config": "^2.6", | ||
"zendframework/zend-expressive" : "^1.0", | ||
"zendframework/zend-expressive-aurarouter": "^1.0", | ||
"zendframework/zend-expressive-helpers": "^2.0", | ||
"zendframework/zend-expressive-zendviewrenderer": "^1.1.0", | ||
"zendframework/zend-filter": "^2.7.1", | ||
"zendframework/zend-servicemanager" : "^3.0.3", | ||
"zendframework/zend-stdlib": "^3.0.1", | ||
"zendframework/zend-mail": "^2.7.1" | ||
}, | ||
"require-dev" : { | ||
"fabpot/php-cs-fixer": "1.7.*", | ||
"phpunit/phpunit": "^4.7", | ||
"symfony/stopwatch": "^2.7" | ||
"fabpot/php-cs-fixer": "^1.11.4", | ||
"filp/whoops": "^1.1", | ||
"phpunit/phpunit": "^4.8 || ^5.2", | ||
"proophsoftware/prooph-cli": "^0.2.0", | ||
"symfony/stopwatch": "^2.7", | ||
"satooshi/php-coveralls": "^1.0" | ||
}, | ||
"suggest" : { | ||
"prooph/event-store-doctrine-adapter" : "^3.0 Use doctrine dbal event store adapter", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
local.php | ||
*.local.php |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return [ | ||
'debug' => true, | ||
|
||
'config_cache_enabled' => false, | ||
]; |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
use Zend\Expressive\Application; | ||
use Zend\Expressive\Container\ApplicationFactory; | ||
use Zend\Expressive\Helper; | ||
|
||
return [ | ||
// Provides application-wide services. | ||
// We recommend using fully-qualified class names whenever possible as | ||
// service names. | ||
'dependencies' => [ | ||
// Use 'invokables' for constructor-less services, or services that do | ||
// not require arguments to the constructor. Map a service name to the | ||
// class name. | ||
'invokables' => [ | ||
// Fully\Qualified\InterfaceName::class => Fully\Qualified\ClassName::class, | ||
Helper\ServerUrlHelper::class => Helper\ServerUrlHelper::class, | ||
], | ||
// Use 'factories' for services provided by callbacks/factory classes. | ||
'factories' => [ | ||
Application::class => ApplicationFactory::class, | ||
Helper\UrlHelper::class => Helper\UrlHelperFactory::class, | ||
'doctrine.connection.default' => \Prooph\ProophessorDo\Container\Infrastructure\DoctrineDbalConnectionFactory::class, | ||
// Action middleware | ||
\Prooph\ProophessorDo\App\Action\Home::class => \Prooph\ProophessorDo\Container\App\Action\HomeFactory::class, | ||
\Prooph\ProophessorDo\App\Action\UserList::class => \Prooph\ProophessorDo\Container\App\Action\UserListFactory::class, | ||
\Prooph\ProophessorDo\App\Action\UserRegistration::class => \Prooph\ProophessorDo\Container\App\Action\UserRegistrationFactory::class, | ||
\Prooph\ProophessorDo\App\Action\UserTodoList::class => \Prooph\ProophessorDo\Container\App\Action\UserTodoListFactory::class, | ||
\Prooph\ProophessorDo\App\Action\UserTodoForm::class => \Prooph\ProophessorDo\Container\App\Action\UserTodoFormFactory::class, | ||
// Model | ||
\Prooph\ProophessorDo\Model\User\Handler\RegisterUserHandler::class => \Prooph\ProophessorDo\Container\Model\User\RegisterUserHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\User\UserCollection::class => \Prooph\ProophessorDo\Container\Infrastructure\Repository\EventStoreUserCollectionFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\PostTodoHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\PostTodoHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\MarkTodoAsDoneHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\MarkTodoAsDoneHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\ReopenTodoHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\ReopenTodoHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\AddDeadlineToTodoHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\AddDeadlineToTodoHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\AddReminderToTodoHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\AddReminderToTodoHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\MarkTodoAsExpiredHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\MarkTodoAsExpiredHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\Handler\RemindTodoAssigneeHandler::class => \Prooph\ProophessorDo\Container\Model\Todo\RemindTodoAssigneeHandlerFactory::class, | ||
\Prooph\ProophessorDo\Model\Todo\TodoList::class => \Prooph\ProophessorDo\Container\Infrastructure\Repository\EventStoreTodoListFactory::class, | ||
// Projections | ||
\Prooph\ProophessorDo\Projection\User\UserProjector::class => \Prooph\ProophessorDo\Container\Projection\User\UserProjectorFactory::class, | ||
\Prooph\ProophessorDo\Projection\User\UserFinder::class => \Prooph\ProophessorDo\Container\Projection\User\UserFinderFactory::class, | ||
\Prooph\ProophessorDo\Projection\Todo\TodoProjector::class => \Prooph\ProophessorDo\Container\Projection\Todo\TodoProjectorFactory::class, | ||
\Prooph\ProophessorDo\Projection\Todo\TodoFinder::class => \Prooph\ProophessorDo\Container\Projection\Todo\TodoFinderFactory::class, | ||
\Prooph\ProophessorDo\Projection\Todo\TodoReminderFinder::class => \Prooph\ProophessorDo\Container\Projection\Todo\TodoReminderFinderFactory::class, | ||
\Prooph\ProophessorDo\Projection\Todo\TodoReminderProjector::class => \Prooph\ProophessorDo\Container\Projection\Todo\TodoReminderProjectorFactory::class, | ||
// Subscriber | ||
\Prooph\ProophessorDo\App\Mail\SendTodoReminderMailSubscriber::class => \Prooph\ProophessorDo\Container\App\Mail\SendTodoReminderMailSubscriberFactory::class, | ||
], | ||
], | ||
]; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
return [ | ||
'dependencies' => [ | ||
'invokables' => [ | ||
'Zend\Expressive\Whoops' => Whoops\Run::class, | ||
'Zend\Expressive\WhoopsPageHandler' => Whoops\Handler\PrettyPageHandler::class, | ||
], | ||
'factories' => [ | ||
'Zend\Expressive\FinalHandler' => Zend\Expressive\Container\WhoopsErrorHandlerFactory::class, | ||
], | ||
], | ||
|
||
'whoops' => [ | ||
'json_exceptions' => [ | ||
'display' => true, | ||
'show_trace' => true, | ||
'ajax_only' => true, | ||
], | ||
], | ||
]; |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
return [ | ||
'proophessor-do' => [ | ||
'mail' => [ | ||
'transport' => 'in_memory', // smtp or in_memory (default) | ||
// uncomment if you want to use smtp. Preset for gmail | ||
// 'smtp' => [ | ||
// 'name' => 'gmail.com', | ||
// 'host' => 'smtp.gmail.com', | ||
// 'port' => 587, | ||
// 'connection_class' => 'plain', | ||
// 'connection_config' => [ | ||
// 'username' => 'YOUR_USERNAME_HERE', | ||
// 'password' => 'YOUR_PASSWORD_HERE', | ||
// 'ssl' => 'tls', | ||
// ], | ||
// ], | ||
] | ||
] | ||
]; |
Oops, something went wrong.