cultuurnet/valueobjects

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP library/collection of classes aimed to help developers using and understanding immutable objects.

Package info

github.com/cultuurnet/valueobjects

pkg:composer/cultuurnet/valueobjects

Statistics

Installs: 47 017

Dependents: 17

Suggesters: 0

Stars: 37

v4.1 2016-04-23 19:45 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT ba7b7cb50283092108709315227079a2ef9d9f26

  • Contributors
  • NicolΓ² Pignatelli <pignatelli.nicolo.woop@gmail.com>

README

This is a fork of the nicolopignatelli/valueobjects library which was removed from GitHub. It's kept around for backwards compatibility in projects that were already using it. However, we do not maintain this project and do not advise you to use it in production.

ValueObjects

πŸ‘ Build Status
πŸ‘ Scrutinizer Quality Score
πŸ‘ Code Coverage
πŸ‘ SensioLabsInsight

A PHP library/collection of classes aimed to help developers using and undestanding immutable objects.

Should I use this library?

Not in production enviroments. Although fully tested, ValueObjects has been developed mainly for educational purposes. Therefore, it can be used in personal projects and to force yourself on thinking in terms of immutable objects and their interaction.

When approaching a project using Domain Driven Design, I would suggest to write your own Value Objects in a way they will reflect 100% your domain, without using any library or class designed to solve a general problem more than your specific one.

In short, learn from it then throw it away.

Documentation

Contributing

See CONTRIBUTING file.

License

ValueObjects is released under the MIT License. See the bundled LICENSE file for details.