{"id":20791203,"url":"https://github.com/Sikessem/Typed","last_synced_at":"2025-05-11T14:33:13.522Z","repository":{"id":204522997,"uuid":"671302508","full_name":"sikessem/values","owner":"sikessem","description":"Convert PHP values to objects of strict types.","archived":false,"fork":false,"pushed_at":"2023-11-15T16:58:12.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"0.x","last_synced_at":"2024-04-16T22:17:05.615Z","etag":null,"topics":["cast","converter","data","object-oriented-programming","oop","php","poo","programmation-orientee-objets","strict-types","value-object","variable-object"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/sikessem/values","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/sikessem.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":null,"support":null,"governance":null}},"created_at":"2023-07-27T02:42:27.000Z","updated_at":"2024-04-16T22:17:05.616Z","dependencies_parsed_at":null,"dependency_job_id":"3e6b0a43-16f0-4680-ac80-d1b6febd80cc","html_url":"https://github.com/sikessem/values","commit_stats":null,"previous_names":["sikessem/values"],"tags_count":0,"template":false,"template_full_name":"sikessem/skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sikessem%2Fvalues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sikessem%2Fvalues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sikessem%2Fvalues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sikessem%2Fvalues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sikessem","download_url":"https://codeload.github.com/sikessem/values/tar.gz/refs/heads/0.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225058941,"owners_count":17414604,"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":["cast","converter","data","object-oriented-programming","oop","php","poo","programmation-orientee-objets","strict-types","value-object","variable-object"],"created_at":"2024-11-17T15:42:19.833Z","updated_at":"2025-05-11T14:33:08.212Z","avatar_url":"https://github.com/sikessem.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![sikessem-logo]][sikessem-link]\n\n\u003cbr/\u003e\n\n[![php-icon]][php-link]\n[![packagist-version-icon]][packagist-version-link]\n[![packagist-download-icon]][packagist-download-link]\n[![license-icon]][license-link]\n[![actions-icon]][actions-link]\n[![pr-icon]][pr-link]\n[![twitter-icon]][twitter-link]\n\n\u003c/div\u003e\n\n[sikessem-logo]: https://github.com/sikessem/art/blob/HEAD/images/sikessem.svg\n[sikessem-link]: https://github.com/sikessem \"Sikessem\"\n\n[php-icon]: https://img.shields.io/badge/PHP-ccc.svg?style=flat\u0026logo=php\n[php-link]: https://github.com/sikessem/values/search?l=php \"PHP code\"\n\n[packagist-version-icon]: https://img.shields.io/packagist/v/sikessem/values\n[packagist-version-link]: https://packagist.org/packages/sikessem/values \"Values Releases\"\n\n[packagist-download-icon]: https://img.shields.io/packagist/dt/sikessem/values\n[packagist-download-link]: https://packagist.org/packages/sikessem/values \"Values Downloads\"\n\n[actions-icon]: https://github.com/sikessem/values/workflows/CI/badge.svg\n[actions-link]: https://github.com/sikessem/values/actions \"Values status\"\n\n[pr-icon]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?color=brightgreen\n[pr-link]: https://github.com/sikessem/.github/blob/HEAD/CONTRIBUTING.md \"PRs welcome!\"\n\n[twitter-icon]: https://img.shields.io/twitter/follow/sikessem.svg?label=@sikessem_tweets\n[twitter-link]: https://twitter.com/intent/follow?screen_name=sikessem_tweets \"Ping Sikessem\"\n\n[license-icon]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-link]: https://github.com/sikessem/values/blob/HEAD/LICENSE \"Values License\"\n[conduct-link]: https://github.com/sikessem/values/blob/HEAD/CODE_OF_CONDUCT.md\n[discuss-link]: https://github.com/orgs/sikessem/discussions\n[docs-link]: https://github.com/sikessem/values#readme \"Values Documentation\"\n\n***\n\n# PHP Value Objects\n\nObjects with strict types to manage PHP variables and values.\n\n\u003e [!WARNING]\n\u003e This package is no longer maintained.\nPlease use [sikessem/core](https://github.com/sikessem/core) instead.\n\n## 🔖 Contents\n\n- [PHP Value Objects](#php-value-objects)\n  - [🔖 Contents](#-contents)\n  - [📋 Requirements](#-requirements)\n  - [🎉 Getting Started](#-getting-started)\n    - [⚡️ Installation](#️-installation)\n    - [🧑‍💻 Usage](#-usage)\n    - [🧪 Testing and debugging](#-testing-and-debugging)\n  - [📖 Documentation](#-documentation)\n  - [👏 Contribution](#-contribution)\n    - [👷 Code of Conduct](#-code-of-conduct)\n    - [👥 Contributing Guide](#-contributing-guide)\n    - [🔒️ Good First Issues](#️-good-first-issues)\n    - [💬 Discussions](#-discussions)\n  - [🔐 Security Reports](#-security-reports)\n  - [📄 License](#-license)\n\n## 📋 Requirements\n\n\u003e - **Requires [PHP \u003e=8.0](https://php.net/releases/)** (at least 8.0.30 recommended to avoid potential bugs).\n\u003e - **Requires [Composer v2+](https://getcomposer.org/)** to manage PHP dependencies.\n\n## 🎉 Getting Started\n\n### ⚡️ Installation\n\nUse [Composer](https://getcomposer.org/) to install `sikessem/values`:\n\n```bash\ncomposer require sikessem/values\n```\n\n### 🧑‍💻 Usage\n\n```php\n\u003c?php\n\nuse Sikessem\\Values\\Value;\n\n$two = Value::from(2); // 2\n$two-\u003eupdate(fn($val) =\u003e $val * $val); // 4\n$two-\u003eset(5); // 5\n```\n\n### 🧪 Testing and debugging\n\n🧹 Keep a modern codebase with **Pint**:\n\n```bash\ncomposer lint\n```\n\n⚗️ Run static analysis:\n\n- Using **PHPStan**:\n\n```bash\ncomposer analyse\n```\n\n- Using **Psalm**:\n\n```bash\ncomposer inspect\n```\n\n✅ Run unit tests using **PEST**\n\n```bash\ncomposer test\n```\n\n🐛 Check all code bugs:\n\n```bash\ncomposer debug\n```\n\n🚀 Fix the entire code:\n\n```bash\ncomposer fix\n```\n\n## 📖 Documentation\n\nThe full documentation for the Sikessem Values can be found on [this address][docs-link].\n\n## 👏 Contribution\n\nThe main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.\n\n### [👷 Code of Conduct][conduct-link]\n\nSikessem has adopted a Code of Conduct that we expect project participants to adhere to.\nPlease read the [full text][conduct-link] so that you can understand what actions will and will not be tolerated.\n\n### 👥 [Contributing Guide][pr-link]\n\nRead our [**Contributing Guide**][pr-link] to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.\n\n### 🔒️ Good First Issues\n\nWe have a list of [good first issues][gfi] that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.\n\n[gfi]: https://github.com/sikessem/values/labels/good%20first%20issue\n\n### 💬 Discussions\n\nLarger discussions and proposals are discussed in [**Sikessem's GitHub discussions**][discuss-link].\n\n## 🔐 Security Reports\n\nIf you discover a security vulnerability within [Sikessem][sikessem-link], please email [SIGUI Kessé Emmanuel](https://sigui.ci) at [contact@sigui.ci](mailto:contact@sigui.ci). All security vulnerabilities will be promptly addressed.\n\n## 📄 License\n\nThe Sikessem Values is open-sourced software licensed under the  [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE][license-link] file for details.\n\n***\n\n\u003cdiv align=\"center\"\u003e\u003csub\u003eMade with ❤︎ by \u003ca href=\"https://twitter.com/intent/follow?screen_name=siguici\" style=\"content:url(https://img.shields.io/twitter/follow/siguici.svg?label=@siguici);margin-bottom:-6px\"\u003e@siguici\u003c/a\u003e.\u003c/sub\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSikessem%2FTyped","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSikessem%2FTyped","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSikessem%2FTyped/lists"}