Download the PHP package proophsoftware/prooph-bundle without Composer

On this page you can find all versions of the php package proophsoftware/prooph-bundle. 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 prooph-bundle

Symfony bundle for prooph components

Deprecated

Based on user feedback we've decided to start working on Symfony integration again. This bundle makes use of the interop-container aware factories shipped with each prooph component. However, using these factories in a Symfony environment works different than you know it from other bundles. If you are looking for real Symfony bundles check out:

Overview

This is a Symfony bundle for prooph components to get started out of the box with message bus, CQRS, event sourcing and snapshots with the Symfony Doctrine Bundle. It uses Doctrine DBAL. There are more adapters available.

It provides all service definitions and a default configuration. This is more like a Quick-Start bundle. If you want to use the prooph components in production, we recommend to use only prooph-interop-bundle and configure the prooph components for your requirements. See the documentation for more details of the prooph components.

For rapid prototyping we recommend to use our prooph-cli tool.

Available services

Installation

You can install proophsoftware/prooph-bundle via composer by adding "proophsoftware/prooph-bundle": "^0.1" as requirement to your composer.json.

Finally, be sure to enable the following bundles in AppKernel.php by including the following:

Database

Setup your Doctrine database migrations for the Event Store and Snapshot. This bundle uses the Doctrine Migrations Bundle.

Update the generated migration class with prooph Doctrine event store schema helper:

And now for the snapshot table.

Update the generated migration class with prooph Doctrine snapshot schema helper:

Now it's time to execute the migrations:

Example

You have only to define your models (Entities, Repositories) and commands/routes. You find all these things in the prooph components documentation. Here is an example YAML config from the proophessor-do example app.

You have to use a single quote ' in the YAML configuration

Define the aggregate repository, command route and event route for RegisterUser in app/config/config.yml.

Add the service container factories. Here is an example of the corresponding service XML configuration with container-interop for the example above.

Here is an example how to call the RegisterUser command:

Here is an example how to get a list of all users from the example above:

Support

Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License

Released under the New BSD License.


All versions of prooph-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5 || ^7.0
doctrine/doctrine-migrations-bundle Version ^1.0
prooph/event-sourcing Version ^4.0
prooph/event-store Version ^6.0
prooph/event-store-bus-bridge Version ^2.0
prooph/event-store-doctrine-adapter Version ^3.0
prooph/service-bus Version ^5.0.2
prooph/snapshot-doctrine-adapter Version ^1.0
prooph/snapshotter Version ^1.0
proophsoftware/prooph-interop-bundle Version ^0.1
sandrokeil/interop-config Version ^0.3.1
symfony/config Version ~2.8 || ~3.0
symfony/dependency-injection Version ^2.8 || ^3.0
symfony/http-kernel Version ^2.8 || ^3.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 proophsoftware/prooph-bundle contains the following files

Loading the files please wait ....