Download the PHP package componenta/cqrs-app without Composer

On this page you can find all versions of the php package componenta/cqrs-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cqrs-app

Componenta CQRS App

componenta/cqrs-app adds application-level discovery and build-time map compilation for componenta/cqrs.

It does not contain runtime middleware, transports, or console workers. Install the relevant optional CQRS packages for those concerns.

Installation

Dependencies

Dependency Purpose
PHP ^8.4 Modern language features and strict types.
componenta/app Compile cache contributor integration.
componenta/arrayable Shared array conversion contract.
componenta/class-finder Class discovery and listener compiler integration.
componenta/config Config provider integration.
componenta/cqrs Core CQRS runtime contracts and config keys.
componenta/tokenizer Source inspection for handler map compilation.
psr/container Service lookup.

What It Registers

Config section Entries
factories Attribute and compiled-map locators for command handlers, command listeners, and query handlers.
invokables Command/query handler map compilers, command listener map compiler, and command attribute map compiler/contributor.
ClassFinderConfigKey::LISTENERS Attribute locators used during discovery.
CompileConfigKey::LISTENER_COMPILERS Map compilers used during build.
AppConfigKey::COMPILE_CACHE_CONTRIBUTORS Command attribute map contributor.

Usage

Register the provider together with componenta/cqrs:

Use discovery attributes in application code:

In production, build-time maps should be generated and restored from cache. The app provider switches to plain runtime locators when the environment is production and compiled maps are available.

Optional Runtime Packages

Install separate packages for runtime concerns:

Package Adds
componenta/cqrs-policy Command/query policy middleware.
componenta/cqrs-retry Retry middleware.
componenta/cqrs-lock Resource lock middleware.
componenta/cqrs-transaction-cycle Cycle Database transaction middleware.
componenta/cqrs-transport Async transport middleware, contracts, serializer, and worker.
componenta/cqrs-transport-cycle Cycle Database transport implementation.
componenta/cqrs-transport-console cqrs:worker Symfony Console command.

All versions of cqrs-app with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
componenta/app Version ^1.0
componenta/arrayable Version ^1.0
componenta/class-finder Version ^1.0
componenta/config Version ^1.0
componenta/cqrs Version ^1.0
componenta/cqrs-lock Version ^1.0
componenta/cqrs-policy Version ^1.0
componenta/cqrs-retry Version ^1.0
componenta/cqrs-transport Version ^1.0
componenta/tokenizer Version ^1.0
psr/container Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package componenta/cqrs-app contains the following files

Loading the files please wait ...