Download the PHP package hassanelzarkawy/nactu without Composer
On this page you can find all versions of the php package hassanelzarkawy/nactu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hassanelzarkawy/nactu
More information about hassanelzarkawy/nactu
Files in hassanelzarkawy/nactu
Download hassanelzarkawy/nactu
More information about hassanelzarkawy/nactu
Files in hassanelzarkawy/nactu
Vendor hassanelzarkawy
Package nactu
Short Description A Command Bus implementation with middleware pipeline, query caching, and retry support for Laravel
License MIT
Package nactu
Short Description A Command Bus implementation with middleware pipeline, query caching, and retry support for Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package nactu
Nactu
A lightweight CQRS package for Laravel with command/query bus, middleware pipeline, query caching, and retry support.
Requirements
- PHP 8.4+
- Laravel 11+
Installation
Publish the config file:
Quick Start
Commands (Write)
Create a command and its handler:
This generates:
App\Commands\CreateUserCommandApp\Handlers\CreateUserHandler
Dispatch it:
Queries (Read)
Create a query and its handler:
This generates:
App\Queries\ListUsersQueryApp\QueryHandlers\ListUsersHandler
Dispatch it:
Documentation
- Commands — Command bus, handlers, and write operations
- Queries — Query bus, cacheable queries, and read operations
- Middleware — Built-in and custom middleware
- Caching — Query caching, cache keys, and invalidation
- Auto-Discovery — Convention-based handler resolution
- Console Commands — Code generation commands
- Configuration — Full config reference
How It Works
Commands and queries have separate middleware stacks. Commands get retry support, queries get caching — no overlap.
License
MIT
All versions of nactu with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
illuminate/contracts Version ^13.11
illuminate/support Version ^13.11
laravel/framework Version ^13.11
illuminate/contracts Version ^13.11
illuminate/support Version ^13.11
laravel/framework Version ^13.11
The package hassanelzarkawy/nactu contains the following files
Loading the files please wait ...