{"id":20465058,"url":"https://github.com/kickasscommerce/valueobjects","last_synced_at":"2026-04-19T00:08:17.055Z","repository":{"id":74113093,"uuid":"101623953","full_name":"KickAssCommerce/valueobjects","owner":"KickAssCommerce","description":"A set of generic value objects to be used in PHP projects","archived":false,"fork":false,"pushed_at":"2017-08-29T13:08:30.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T01:15:00.961Z","etag":null,"topics":[],"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/KickAssCommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-28T08:55:01.000Z","updated_at":"2017-09-01T09:17:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6303627f-ab8d-481b-bc55-7efae5ec98af","html_url":"https://github.com/KickAssCommerce/valueobjects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KickAssCommerce%2Fvalueobjects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KickAssCommerce%2Fvalueobjects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KickAssCommerce%2Fvalueobjects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KickAssCommerce%2Fvalueobjects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KickAssCommerce","download_url":"https://codeload.github.com/KickAssCommerce/valueobjects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242024681,"owners_count":20059569,"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":[],"created_at":"2024-11-15T13:17:11.144Z","updated_at":"2026-04-19T00:08:17.006Z","avatar_url":"https://github.com/KickAssCommerce.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ValueObjects\n\n[![Build Status](https://travis-ci.org/KickAssCommerce/valueobjects.svg?branch=master)](https://travis-ci.org/KickAssCommerce/valueobjects)\n\nPlease note: this project is, for now, in alpha while I try to figure out what works best\n\nA set of common value objects. \n\nTypes are grouped by categories like `Identity`. Each object extends a scalar type for basic validation and return type enforcing\n\n## Usage\n\n```\nuse KickAss\\ValueObjects\\Identity\\EmailValue;\nuse KickAss\\ValueObjects\\ValidationException;\n\ntry {\n   $value = new EmailValue('test@example.com');\n} catch(ValidationException $error) {\n   // handle the exception for invalid values\n}\n\necho $value-\u003evalue();\necho (string)$value;\n``` \n\nOutputs\n```\ntest@example.com\ntest@example.com\n```\n\n## Installation\nInstall module via composer\n\n## Contributing\n\nI would love to have some help on this project. With PRs, bug reporting or just give your opinion on how this\ncould be improved via a feature issue.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickasscommerce%2Fvalueobjects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkickasscommerce%2Fvalueobjects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickasscommerce%2Fvalueobjects/lists"}