{"id":18248250,"url":"https://github.com/district09/php_package_dg-value","last_synced_at":"2025-04-08T19:51:25.161Z","repository":{"id":56968695,"uuid":"154819597","full_name":"district09/php_package_dg-value","owner":"district09","description":"Package containing the interfaces and abstract implementations to support the usage of Value objects in packages and projects.","archived":false,"fork":false,"pushed_at":"2022-08-17T07:51:48.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-14T15:36:55.677Z","etag":null,"topics":["d09check22","web"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/district09.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2018-10-26T10:45:58.000Z","updated_at":"2022-12-18T10:15:55.000Z","dependencies_parsed_at":"2022-08-21T10:20:54.174Z","dependency_job_id":null,"html_url":"https://github.com/district09/php_package_dg-value","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Fphp_package_dg-value","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Fphp_package_dg-value/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Fphp_package_dg-value/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Fphp_package_dg-value/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/district09","download_url":"https://codeload.github.com/district09/php_package_dg-value/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918896,"owners_count":21018042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d09check22","web"],"created_at":"2024-11-05T09:36:22.898Z","updated_at":"2025-04-08T19:51:25.140Z","avatar_url":"https://github.com/district09.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digipolis - Value objects\n\nPackage containing the interfaces and abstract implementations to support the\nusage of Value objects in other packages and projects.\n\n[![Latest Stable Version][ico-version]][link-packagist]\n[![Total Downloads][ico-downloads]][link-packagist]\n[![License][ico-license]][link-license]\n\n[![Build Status][ico-travis]][link-travis]\n[![Maintainability][ico-maintainability]][link-maintainability]\n[![Test Coverage][ico-test-coverage]][link-test-coverage]\n![PHP from Packagist][ico-php-version]\n\n## Usage\n\nThis package contains the following interfaces:\n\n* `ValueInterface` : the basic interface for all value objects.\n* `ValueFromArrayInterface` : extra interface that adds, to a value object, the\n  static method to create it from an array of data.\n* `ValueToArrayInterface` : extra interface that adds, to a value object, the\n  method to extract its data as an array.\n* `CollectonInterface` : the basic interface for a collection of values of the\n  same type.\n\nAnd the following abstract implementations:\n\n* `ValueAbstract` : Abstract implementation of the `ValueInterface`, implements\n  only the `sameValueTypeAs()` method.\n* `CollectionAbstract` : Abstract implementation of the `CollectonInterface`,\n  implements the method to compare two collections (`sameValueAs()`) and to get\n  the collection as an iterator (`getIterator()`).\n\n## Install\n\nInstall the package:\n\n```bash\ncomposer require digipolisgent/value\n```\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed\nrecently.\n\n## Testing\n\nRun the test suite:\n\n``` bash\nvendor/bin/phpunit\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more\ninformation.\n\n[ico-version]: https://img.shields.io/packagist/v/digipolisgent/value.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/digipolisgent/value.svg?style=flat-square\n\n[ico-license]: https://img.shields.io/github/license/district09/php_package_dg-value.svg?style=flat-square\n[ico-travis]: https://api.travis-ci.com/district09/php_package_dg-value.svg?branch=master\n[ico-maintainability]: https://api.codeclimate.com/v1/badges/316c85fff5a298e6450c/maintainability\n[ico-test-coverage]: https://api.codeclimate.com/v1/badges/316c85fff5a298e6450c/test_coverage\n[ico-php-version]: https://img.shields.io/packagist/php-v/digipolisgent/value.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/digipolisgent/value\n[link-license]: LICENSE.md\n[link-travis]: https://travis-ci.com/district09/php_package_dg-value\n[link-maintainability]: https://codeclimate.com/repos/5bd2f0f01155160cf60025f7/maintainability\n[link-test-coverage]: https://codeclimate.com/repos/5bd2f0f01155160cf60025f7/test_coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistrict09%2Fphp_package_dg-value","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistrict09%2Fphp_package_dg-value","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistrict09%2Fphp_package_dg-value/lists"}