Download the PHP package biig/domain without Composer

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

Domain component

Build Status Latest Stable Version License

This library is design to help you to build your application with a Domain Design Development approach.

It is well integrated with:

But you can use it with any PHP project.

Here are some slides that explain how we get there.

Features

Domain Events:

Drawbacks

This library is build to allow you to use Doctrine models as Domain model. This has some cost: you can't instantiate domain model by hand anymore. This means that you need a factory for any of the usage of your domain model.

This component provides the implementation for Symfony serializer and Doctrine. For your own needs you should use the class (service if you use the bundle) Biig\Component\Domain\Model\Instantiator\Instantiator.

Installation

Basic usage

As your model needs a dispatcher you need to call the setDispatcher() method any time you create a new instance of your model. To avoid doing this manually you can use the Instantiator that the library provides.

It doesn't use the constructor to add the dispatcher because in PHP you can create objects without the constructor. For instance, that's what Doctrine does.

Integration to Symfony

Use the bundle :

Learn more about Symfony Integration

Versions

Version Status Documentation Symfony Version  PHP Version
1.x Maintained v1 '>= 3.3 && <5' '>= 7.1'
2.x Latest v2 '>= 4.3' '>= 7.1'

All versions of domain with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
symfony/event-dispatcher Version ^4.3|^5.0
doctrine/doctrine-bundle Version ^1.8|^2.0
doctrine/orm Version ^2.6.3
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 biig/domain contains the following files

Loading the files please wait ....