{"id":15026733,"url":"https://github.com/myks92/php-value-objects","last_synced_at":"2025-06-22T08:36:58.725Z","repository":{"id":57022722,"uuid":"246068948","full_name":"Myks92/php-value-objects","owner":"Myks92","description":"A set of PHP Value Objects to manage composite values","archived":false,"fork":false,"pushed_at":"2020-07-29T11:11:45.000Z","size":117,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:44:00.076Z","etag":null,"topics":["ddd","domain-driven-design","php","php-value-objects","php74","value-object","value-objects"],"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/Myks92.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-09T15:13:49.000Z","updated_at":"2023-01-17T21:29:57.000Z","dependencies_parsed_at":"2022-08-23T12:20:44.989Z","dependency_job_id":null,"html_url":"https://github.com/Myks92/php-value-objects","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Myks92/php-value-objects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myks92%2Fphp-value-objects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myks92%2Fphp-value-objects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myks92%2Fphp-value-objects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myks92%2Fphp-value-objects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Myks92","download_url":"https://codeload.github.com/Myks92/php-value-objects/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myks92%2Fphp-value-objects/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261263377,"owners_count":23132555,"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":["ddd","domain-driven-design","php","php-value-objects","php74","value-object","value-objects"],"created_at":"2024-09-24T20:04:59.502Z","updated_at":"2025-06-22T08:36:53.714Z","avatar_url":"https://github.com/Myks92.png","language":"PHP","readme":"# PHP Value Objects\n\n[![Packagist Version][stable]](https://packagist.org/packages/myks92/php-value-objects\n) [![Total Downloads](https://poser.pugx.org/myks92/php-value-objects/v/unstable.png)](https://packagist.org/packages/myks92/php-value-objects\n) [![Software License](https://poser.pugx.org/myks92/php-value-objects/license)](LICENSE.md)\n[![PHP Version][badge-php]][php]\n[![Total Downloads](https://poser.pugx.org/myks92/php-value-objects/downloads)](https://packagist.org/packages/myks92/php-value-objects)\n[![composer.lock](https://poser.pugx.org/myks92/php-value-objects/composerlock)](https://packagist.org/packages/myks92/php-value-objects)\n\nBranch | Travis |\n------ | ------ |\nmaster | [![Build Status][badge-travis-unstable]][travis-unstable]\n\nA set of PHP Value Objects to manage simple and composite values.\n\nWhat are Value Objects\n\nValue Objects are PHP [`objects`](http://php.net/manual/en/language.types.object.php) that represent and manage simple or complex values. Once set, the value object cannot\n be modified without changing its identity.\n\nSimple value objects represent a simple value, like an email. Complex value objects represent complex values, that, in order to really represent a value, need more than one value, like a price that needs an amount and a currency to be understandable and have a sense.\n\nPHP supports several value object e.g.: the [`DateTime`](https://www.php.net/manual/en/class.datetime.php) object and\n [`DateTimeImmutable`](https://www.php.net/manual/ru/class.datetimeimmutable.php) object.\n\nThis library gives support for other kind of values.\n   \n## Installation\n\nTo install, use [composer](https://getcomposer.org):\n```\ncomposer require myks92/php-value-objects\n```\n\n## Documentation\n\nAll use instructions are located in [documentation][].\n\n## Testing\n\n```\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG][] for more information on what has changed recently.\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE][] for more information.\n\n[badge-php]: https://img.shields.io/packagist/php-v/Myks92/php-value-objects.svg?style=flat-square\n[badge-travis-unstable]: https://travis-ci.org/Myks92/php-value-objects.svg?branch=master\n\n[documentation]: https://github.com/Myks92/php-value-objects/blob/master/docs/readme.md\n[source]: https://github.com/Myks92/php-value-objects\n[stable]: https://poser.pugx.org/myks92/php-value-objects/v/stable.png\n[changelog]: https://github.com/Myks92/php-value-objects/blob/master/CHANGELOG.md\n[license]: https://github.com/Myks92/php-value-objects/blob/master/LICENSE.md\n[php]: https://php.net\n[travis-unstable]: https://travis-ci.org/Myks92/php-value-objects","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyks92%2Fphp-value-objects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyks92%2Fphp-value-objects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyks92%2Fphp-value-objects/lists"}