├── .editorconfig ├── .gitattributes ├── .gitignore ├── Dockerfile ├── LICENSE ├── composer.json ├── docker-compose.yml ├── docker └── php.ini ├── phpunit.xml ├── pint.json ├── readme.md ├── src ├── Builder.php ├── Buses │ ├── Cached.php │ ├── Evented.php │ └── Transaction.php ├── Command.php ├── Concerns │ ├── Arguments.php │ ├── Bust.php │ ├── CQRS.php │ ├── Dispatchable.php │ ├── Handle.php │ ├── Queueable.php │ ├── Queues.php │ ├── Save.php │ ├── Silencer.php │ └── Validation.php ├── Dispatcher.php ├── Events │ ├── Event.php │ └── Invalidated.php ├── Jobs │ ├── Chain.php │ ├── Job.php │ └── Pending.php └── Query.php └── tests ├── Fakes ├── Cache │ └── Store.php ├── Commands │ ├── Argumented.php │ ├── Command.php │ ├── Custom.php │ ├── Eventable.php │ ├── Exceptional.php │ ├── Foo.php │ ├── Foo │ │ └── Fizz.php │ ├── Handler.php │ ├── Omni.php │ ├── Queueable.php │ ├── Runnable.php │ ├── SaveModel.php │ └── Transactional.php ├── Database │ └── Connection.php ├── Dispatcher.php ├── Events │ ├── Baz.php │ ├── Dispatcher.php │ ├── Fizzed.php │ ├── Fizzing.php │ └── Foo │ │ └── Bar.php ├── Jobs │ └── Job.php ├── Log │ └── Logger.php ├── Models │ └── Model.php ├── Paginator │ └── LengthAwarePaginator.php └── Queries │ ├── Base.php │ ├── Builderless.php │ ├── Cacheable.php │ ├── Eventable.php │ └── Query.php ├── Feature ├── .gitkeep └── ExampleTest.php ├── Pest.php ├── TestCase.php ├── Unit ├── BuilderTest.php ├── Buses │ ├── CachedTest.php │ ├── EventedTest.php │ └── TransactionTest.php ├── CommandTest.php ├── Concerns │ ├── ArgumentsTest.php │ ├── CQRSTest.php │ ├── HandleTest.php │ ├── QueueableTest.php │ └── SaveTest.php ├── DispatcherTest.php ├── Events │ ├── EventTest.php │ └── InvalidatedTest.php ├── ExampleTest.php ├── Jobs │ ├── ChainTest.php │ ├── JobTest.php │ └── PendingTest.php └── QueryTest.php └── helpers.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/LICENSE -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/composer.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/php.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/docker/php.ini -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/phpunit.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/pint.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/readme.md -------------------------------------------------------------------------------- /src/Builder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Builder.php -------------------------------------------------------------------------------- /src/Buses/Cached.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Buses/Cached.php -------------------------------------------------------------------------------- /src/Buses/Evented.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Buses/Evented.php -------------------------------------------------------------------------------- /src/Buses/Transaction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Buses/Transaction.php -------------------------------------------------------------------------------- /src/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Command.php -------------------------------------------------------------------------------- /src/Concerns/Arguments.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Arguments.php -------------------------------------------------------------------------------- /src/Concerns/Bust.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Bust.php -------------------------------------------------------------------------------- /src/Concerns/CQRS.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/CQRS.php -------------------------------------------------------------------------------- /src/Concerns/Dispatchable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Dispatchable.php -------------------------------------------------------------------------------- /src/Concerns/Handle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Handle.php -------------------------------------------------------------------------------- /src/Concerns/Queueable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Queueable.php -------------------------------------------------------------------------------- /src/Concerns/Queues.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Queues.php -------------------------------------------------------------------------------- /src/Concerns/Save.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Save.php -------------------------------------------------------------------------------- /src/Concerns/Silencer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Silencer.php -------------------------------------------------------------------------------- /src/Concerns/Validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Concerns/Validation.php -------------------------------------------------------------------------------- /src/Dispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Dispatcher.php -------------------------------------------------------------------------------- /src/Events/Event.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Events/Event.php -------------------------------------------------------------------------------- /src/Events/Invalidated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Events/Invalidated.php -------------------------------------------------------------------------------- /src/Jobs/Chain.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Jobs/Chain.php -------------------------------------------------------------------------------- /src/Jobs/Job.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Jobs/Job.php -------------------------------------------------------------------------------- /src/Jobs/Pending.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Jobs/Pending.php -------------------------------------------------------------------------------- /src/Query.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/src/Query.php -------------------------------------------------------------------------------- /tests/Fakes/Cache/Store.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Cache/Store.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Argumented.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Argumented.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Command.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Custom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Custom.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Eventable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Eventable.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Exceptional.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Exceptional.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Foo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Foo.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Foo/Fizz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Foo/Fizz.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Handler.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Omni.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Omni.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Queueable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Queueable.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Runnable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Runnable.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/SaveModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/SaveModel.php -------------------------------------------------------------------------------- /tests/Fakes/Commands/Transactional.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Commands/Transactional.php -------------------------------------------------------------------------------- /tests/Fakes/Database/Connection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Database/Connection.php -------------------------------------------------------------------------------- /tests/Fakes/Dispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Dispatcher.php -------------------------------------------------------------------------------- /tests/Fakes/Events/Baz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Events/Baz.php -------------------------------------------------------------------------------- /tests/Fakes/Events/Dispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Events/Dispatcher.php -------------------------------------------------------------------------------- /tests/Fakes/Events/Fizzed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Events/Fizzed.php -------------------------------------------------------------------------------- /tests/Fakes/Events/Fizzing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Events/Fizzing.php -------------------------------------------------------------------------------- /tests/Fakes/Events/Foo/Bar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Events/Foo/Bar.php -------------------------------------------------------------------------------- /tests/Fakes/Jobs/Job.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Jobs/Job.php -------------------------------------------------------------------------------- /tests/Fakes/Log/Logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Log/Logger.php -------------------------------------------------------------------------------- /tests/Fakes/Models/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Models/Model.php -------------------------------------------------------------------------------- /tests/Fakes/Paginator/LengthAwarePaginator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Paginator/LengthAwarePaginator.php -------------------------------------------------------------------------------- /tests/Fakes/Queries/Base.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Queries/Base.php -------------------------------------------------------------------------------- /tests/Fakes/Queries/Builderless.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Queries/Builderless.php -------------------------------------------------------------------------------- /tests/Fakes/Queries/Cacheable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Queries/Cacheable.php -------------------------------------------------------------------------------- /tests/Fakes/Queries/Eventable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Queries/Eventable.php -------------------------------------------------------------------------------- /tests/Fakes/Queries/Query.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Fakes/Queries/Query.php -------------------------------------------------------------------------------- /tests/Feature/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Feature/ExampleTest.php -------------------------------------------------------------------------------- /tests/Pest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Pest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/BuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/BuilderTest.php -------------------------------------------------------------------------------- /tests/Unit/Buses/CachedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Buses/CachedTest.php -------------------------------------------------------------------------------- /tests/Unit/Buses/EventedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Buses/EventedTest.php -------------------------------------------------------------------------------- /tests/Unit/Buses/TransactionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Buses/TransactionTest.php -------------------------------------------------------------------------------- /tests/Unit/CommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/CommandTest.php -------------------------------------------------------------------------------- /tests/Unit/Concerns/ArgumentsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Concerns/ArgumentsTest.php -------------------------------------------------------------------------------- /tests/Unit/Concerns/CQRSTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Concerns/CQRSTest.php -------------------------------------------------------------------------------- /tests/Unit/Concerns/HandleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Concerns/HandleTest.php -------------------------------------------------------------------------------- /tests/Unit/Concerns/QueueableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Concerns/QueueableTest.php -------------------------------------------------------------------------------- /tests/Unit/Concerns/SaveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Concerns/SaveTest.php -------------------------------------------------------------------------------- /tests/Unit/DispatcherTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/DispatcherTest.php -------------------------------------------------------------------------------- /tests/Unit/Events/EventTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Events/EventTest.php -------------------------------------------------------------------------------- /tests/Unit/Events/InvalidatedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Events/InvalidatedTest.php -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/ExampleTest.php -------------------------------------------------------------------------------- /tests/Unit/Jobs/ChainTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Jobs/ChainTest.php -------------------------------------------------------------------------------- /tests/Unit/Jobs/JobTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Jobs/JobTest.php -------------------------------------------------------------------------------- /tests/Unit/Jobs/PendingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/Jobs/PendingTest.php -------------------------------------------------------------------------------- /tests/Unit/QueryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/Unit/QueryTest.php -------------------------------------------------------------------------------- /tests/helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artisansdk/cqrs/HEAD/tests/helpers.php --------------------------------------------------------------------------------