├── .env.example ├── .gitattributes ├── .gitignore ├── .idea ├── .name ├── blade.xml ├── bounded-context-laravel.iml ├── copyright │ └── profiles_settings.xml ├── dictionaries │ └── colinlyons1.xml ├── encodings.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── app ├── Console │ ├── Commands │ │ └── Inspire.php │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Auth │ │ │ ├── AuthController.php │ │ │ └── PasswordController.php │ │ ├── Controller.php │ │ └── TestController.php │ ├── Kernel.php │ ├── Middleware │ │ ├── Authenticate.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ └── VerifyCsrfToken.php │ ├── Requests │ │ └── Request.php │ └── routes.php ├── Jobs │ └── Job.php ├── Listeners │ └── .gitkeep └── Providers │ ├── AppServiceProvider.php │ ├── CommandServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── commands.php ├── compile.php ├── database.php ├── events.php ├── filesystems.php ├── mail.php ├── players.php ├── projections.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── ModelFactory.php ├── migrations │ ├── .gitkeep │ ├── 2015_08_30_133507_create_table_event_snapshot_log.php │ ├── 2015_08_30_133923_create_table_event_snapshot_stream.php │ ├── 2015_08_30_145732_create_table_player_snapshots.php │ ├── 2015_09_02_014332_create_table_command_snapshot_log.php │ ├── 2015_09_02_014340_create_table_command_snapshot_stream.php │ ├── 2016_02_08_034500_create_table_snapshots_aggregate_state.php │ └── 2016_02_08_034600_create_table_projections_domain_shopping_active_carts.php └── seeds │ ├── .gitkeep │ └── DatabaseSeeder.php ├── domain └── Shopping │ ├── Aggregate │ └── Cart │ │ ├── Aggregate.php │ │ ├── Command │ │ ├── AddProduct.php │ │ ├── ChangeProductQuantity.php │ │ ├── Checkout.php │ │ ├── Create.php │ │ └── RemoveProduct.php │ │ ├── Event │ │ ├── CheckedOut.php │ │ ├── Created.php │ │ ├── Emptied.php │ │ ├── Full.php │ │ ├── ProductAdded.php │ │ ├── ProductQuantityChanged.php │ │ └── ProductRemoved.php │ │ ├── Invariant │ │ ├── CheckedOut.php │ │ ├── Created.php │ │ ├── Emptied.php │ │ ├── Full.php │ │ ├── OnlyActiveMemberCart.php │ │ └── ProductExists.php │ │ ├── Projection.php │ │ ├── Projection │ │ └── OnlyActiveMemberCart │ │ │ ├── Projection.php │ │ │ ├── Projector.php │ │ │ └── Queryable.php │ │ ├── State.php │ │ └── Upgrader │ │ ├── Command │ │ ├── AddProduct.php │ │ ├── ChangeProductQuantity.php │ │ ├── Checkout.php │ │ ├── Create.php │ │ └── RemoveProduct.php │ │ └── Event │ │ ├── CheckedOut.php │ │ ├── Created.php │ │ ├── Emptied.php │ │ ├── Full.php │ │ ├── ProductAdded.php │ │ ├── ProductQuantityChanged.php │ │ └── ProductRemoved.php │ ├── Entity │ ├── Cart.php │ └── Product.php │ └── ValueObject │ ├── Product │ └── Index.php │ └── Quantity.php ├── gulpfile.js ├── infrastructure ├── Domain │ └── Shopping │ │ └── Cart │ │ └── Projection │ │ └── OnlyActiveMemberCart │ │ ├── Projection.php │ │ └── Queryable.php └── event_log.json ├── package.json ├── phpspec.yml ├── phpunit.xml ├── public ├── .htaccess ├── favicon.ico ├── index.php └── robots.txt ├── readme.md ├── resources ├── assets │ └── sass │ │ └── app.scss ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php └── views │ ├── errors │ └── 503.blade.php │ ├── vendor │ └── .gitkeep │ └── welcome.blade.php ├── server.php ├── storage ├── app │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore └── tests ├── ExampleTest.php └── TestCase.php /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | bounded-context-laravel -------------------------------------------------------------------------------- /.idea/blade.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/blade.xml -------------------------------------------------------------------------------- /.idea/bounded-context-laravel.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/bounded-context-laravel.iml -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/copyright/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/dictionaries/colinlyons1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/dictionaries/colinlyons1.xml -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /app/Console/Commands/Inspire.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Console/Commands/Inspire.php -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Console/Kernel.php -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Exceptions/Handler.php -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Controllers/Auth/AuthController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/PasswordController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Controllers/Auth/PasswordController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /app/Http/Controllers/TestController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Controllers/TestController.php -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Kernel.php -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Middleware/RedirectIfAuthenticated.php -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Middleware/VerifyCsrfToken.php -------------------------------------------------------------------------------- /app/Http/Requests/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/Requests/Request.php -------------------------------------------------------------------------------- /app/Http/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Http/routes.php -------------------------------------------------------------------------------- /app/Jobs/Job.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Jobs/Job.php -------------------------------------------------------------------------------- /app/Listeners/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Providers/AppServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/CommandServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Providers/CommandServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Providers/EventServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/app/Providers/RouteServiceProvider.php -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/artisan -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/bootstrap/app.php -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/bootstrap/autoload.php -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/composer.lock -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/app.php -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/auth.php -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/broadcasting.php -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/cache.php -------------------------------------------------------------------------------- /config/commands.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/commands.php -------------------------------------------------------------------------------- /config/compile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/compile.php -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/database.php -------------------------------------------------------------------------------- /config/events.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/events.php -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/filesystems.php -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/mail.php -------------------------------------------------------------------------------- /config/players.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/players.php -------------------------------------------------------------------------------- /config/projections.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/projections.php -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/queue.php -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/services.php -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/session.php -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/config/view.php -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /database/factories/ModelFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/factories/ModelFactory.php -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/migrations/2015_08_30_133507_create_table_event_snapshot_log.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2015_08_30_133507_create_table_event_snapshot_log.php -------------------------------------------------------------------------------- /database/migrations/2015_08_30_133923_create_table_event_snapshot_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2015_08_30_133923_create_table_event_snapshot_stream.php -------------------------------------------------------------------------------- /database/migrations/2015_08_30_145732_create_table_player_snapshots.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2015_08_30_145732_create_table_player_snapshots.php -------------------------------------------------------------------------------- /database/migrations/2015_09_02_014332_create_table_command_snapshot_log.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2015_09_02_014332_create_table_command_snapshot_log.php -------------------------------------------------------------------------------- /database/migrations/2015_09_02_014340_create_table_command_snapshot_stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2015_09_02_014340_create_table_command_snapshot_stream.php -------------------------------------------------------------------------------- /database/migrations/2016_02_08_034500_create_table_snapshots_aggregate_state.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2016_02_08_034500_create_table_snapshots_aggregate_state.php -------------------------------------------------------------------------------- /database/migrations/2016_02_08_034600_create_table_projections_domain_shopping_active_carts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/migrations/2016_02_08_034600_create_table_projections_domain_shopping_active_carts.php -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/database/seeds/DatabaseSeeder.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Aggregate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Aggregate.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Command/AddProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Command/AddProduct.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Command/ChangeProductQuantity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Command/ChangeProductQuantity.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Command/Checkout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Command/Checkout.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Command/Create.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Command/Create.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Command/RemoveProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Command/RemoveProduct.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/CheckedOut.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/CheckedOut.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/Created.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/Created.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/Emptied.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/Emptied.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/Full.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/Full.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/ProductAdded.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/ProductAdded.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/ProductQuantityChanged.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/ProductQuantityChanged.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Event/ProductRemoved.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Event/ProductRemoved.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/CheckedOut.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/CheckedOut.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/Created.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/Created.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/Emptied.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/Emptied.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/Full.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/Full.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/OnlyActiveMemberCart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/OnlyActiveMemberCart.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Invariant/ProductExists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Invariant/ProductExists.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Projection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Projection.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Projection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Projection.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Projector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Projector.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Queryable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Projection/OnlyActiveMemberCart/Queryable.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/State.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/State.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Command/AddProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Command/AddProduct.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Command/ChangeProductQuantity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Command/ChangeProductQuantity.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Command/Checkout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Command/Checkout.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Command/Create.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Command/Create.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Command/RemoveProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Command/RemoveProduct.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/CheckedOut.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/CheckedOut.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/Created.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/Created.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/Emptied.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/Emptied.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/Full.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/Full.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductAdded.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductAdded.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductQuantityChanged.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductQuantityChanged.php -------------------------------------------------------------------------------- /domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductRemoved.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Aggregate/Cart/Upgrader/Event/ProductRemoved.php -------------------------------------------------------------------------------- /domain/Shopping/Entity/Cart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Entity/Cart.php -------------------------------------------------------------------------------- /domain/Shopping/Entity/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/Entity/Product.php -------------------------------------------------------------------------------- /domain/Shopping/ValueObject/Product/Index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/ValueObject/Product/Index.php -------------------------------------------------------------------------------- /domain/Shopping/ValueObject/Quantity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/domain/Shopping/ValueObject/Quantity.php -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/gulpfile.js -------------------------------------------------------------------------------- /infrastructure/Domain/Shopping/Cart/Projection/OnlyActiveMemberCart/Projection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/infrastructure/Domain/Shopping/Cart/Projection/OnlyActiveMemberCart/Projection.php -------------------------------------------------------------------------------- /infrastructure/Domain/Shopping/Cart/Projection/OnlyActiveMemberCart/Queryable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/infrastructure/Domain/Shopping/Cart/Projection/OnlyActiveMemberCart/Queryable.php -------------------------------------------------------------------------------- /infrastructure/event_log.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/infrastructure/event_log.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/package.json -------------------------------------------------------------------------------- /phpspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/phpspec.yml -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/public/index.php -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/readme.md -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/assets/sass/app.scss -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/lang/en/auth.php -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/lang/en/pagination.php -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/lang/en/passwords.php -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/lang/en/validation.php -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/views/errors/503.blade.php -------------------------------------------------------------------------------- /resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/resources/views/welcome.blade.php -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/server.php -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/storage/framework/.gitignore -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/tests/ExampleTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boundedcontext/bounded-context-sample/HEAD/tests/TestCase.php --------------------------------------------------------------------------------