{"id":18376428,"url":"https://github.com/cycle/entity-behavior-uuid","last_synced_at":"2025-04-06T20:31:28.904Z","repository":{"id":45077717,"uuid":"435819420","full_name":"cycle/entity-behavior-uuid","owner":"cycle","description":"UUID behavior","archived":false,"fork":false,"pushed_at":"2024-02-19T18:48:57.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"1.x","last_synced_at":"2025-03-22T06:41:57.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/cycle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"cycle"}},"created_at":"2021-12-07T09:33:06.000Z","updated_at":"2023-11-11T13:40:35.000Z","dependencies_parsed_at":"2024-11-06T00:26:45.087Z","dependency_job_id":"a5647a46-5086-4ef8-a21b-4c79c6e9047a","html_url":"https://github.com/cycle/entity-behavior-uuid","commit_stats":{"total_commits":11,"total_committers":4,"mean_commits":2.75,"dds":0.4545454545454546,"last_synced_commit":"72b113ca527e023af03394ce1363a2c93e1bb6de"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycle%2Fentity-behavior-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycle%2Fentity-behavior-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycle%2Fentity-behavior-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycle%2Fentity-behavior-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cycle","download_url":"https://codeload.github.com/cycle/entity-behavior-uuid/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247547464,"owners_count":20956559,"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-06T00:23:18.134Z","updated_at":"2025-04-06T20:31:28.535Z","avatar_url":"https://github.com/cycle.png","language":"PHP","funding_links":["https://github.com/sponsors/cycle"],"categories":[],"sub_categories":[],"readme":"# Cycle ORM Entity Behavior UUID \n[![Latest Stable Version](https://poser.pugx.org/cycle/entity-behavior-uuid/version)](https://packagist.org/packages/cycle/entity-behavior-uuid)\n[![Build Status](https://github.com/cycle/entity-behavior-uuid/workflows/build/badge.svg)](https://github.com/cycle/entity-behavior-uuid/actions)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cycle/entity-behavior-uuid/badges/quality-score.png?b=1.x)](https://scrutinizer-ci.com/g/cycle/entity-behavior-uuid/?branch=1.x)\n[![Codecov](https://codecov.io/gh/cycle/entity-behavior-uuid/graph/badge.svg)](https://codecov.io/gh/cycle/entity-behavior)\n\u003ca href=\"https://discord.gg/TFeEmCs\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord-chat-magenta.svg\"\u003e\u003c/a\u003e\n\nThe package provides an ability to use `ramsey/uuid` as a Cycle ORM entity column type.\n\n## Installation\n\nInstall this package as a dependency using Composer.\n\n```bash\ncomposer require cycle/entity-behavior-uuid\n```\n\n## Example\n\nThey are randomly-generated and do not contain any information about the time they are created or the machine that\ngenerated them.\n\n```php\nuse Cycle\\Annotated\\Annotation\\Column;\nuse Cycle\\Annotated\\Annotation\\Entity;\nuse Cycle\\ORM\\Entity\\Behavior\\Uuid\\Uuid4;\nuse Ramsey\\Uuid\\UuidInterface;\n\n#[Entity]\n#[Uuid4]\nclass User\n{\n    #[Column(field: 'uuid', type: 'uuid', primary: true)]\n    private UuidInterface $uuid;\n}\n```\n\nYou can find more information about Entity behavior UUID [here](https://cycle-orm.dev/docs/entity-behaviors-uuid).\n\n## License:\n\nThe MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.\nMaintained by [Spiral Scout](https://spiralscout.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycle%2Fentity-behavior-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycle%2Fentity-behavior-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycle%2Fentity-behavior-uuid/lists"}