{"id":20011828,"url":"https://github.com/micro-php/plugin-eav-core","last_synced_at":"2025-06-23T05:08:55.417Z","repository":{"id":126705393,"uuid":"457291631","full_name":"Micro-PHP/plugin-eav-core","owner":"Micro-PHP","description":"Entity Attribute Value model supports","archived":false,"fork":false,"pushed_at":"2022-02-09T09:30:15.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T02:18:03.857Z","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/Micro-PHP.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":"2022-02-09T09:29:48.000Z","updated_at":"2023-02-01T08:47:48.000Z","dependencies_parsed_at":"2023-06-17T18:16:45.855Z","dependency_job_id":null,"html_url":"https://github.com/Micro-PHP/plugin-eav-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Micro-PHP/plugin-eav-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Micro-PHP%2Fplugin-eav-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Micro-PHP%2Fplugin-eav-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Micro-PHP%2Fplugin-eav-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Micro-PHP%2Fplugin-eav-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Micro-PHP","download_url":"https://codeload.github.com/Micro-PHP/plugin-eav-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Micro-PHP%2Fplugin-eav-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261417589,"owners_count":23155075,"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-13T07:27:40.724Z","updated_at":"2025-06-23T05:08:50.401Z","avatar_url":"https://github.com/Micro-PHP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Micro Framework Doctrine Component (WIP)\n\nMicro Framework plugin. Entity Attribute Value (EAV) supports.\n\n## Installation\n\nUse the package manager [Composer](https://getcomposer.org/) to install.\n\n```bash\ncomposer require micro/plugin-eav-core\n```\n\n## Basic Configure\n\n#### 1. Use one of available adapters\n\n 1. micro/plugin-eav-doctrine\n \n## Basic Usage\n\n#### Programmatically create EAV Schema with attributes\n\n```php\n\nuse Micro\\Plugin\\Eav\\EavFacadeInterface;\n\n/** @var  EavFacadeInterface $eavFacade */\n$eavFacade = $container-\u003eget(EavFacadeInterface::class);\n$eavSchemaFacade = $eavFacade-\u003eschema();\n$schema = $eavSchemaFacade\n    -\u003ecreateBuilder()\n        -\u003esetName('Book')\n        -\u003eaddAttribute('title')\n            -\u003esetLength(100)\n            -\u003esetIsUnique(true)\n            -\u003esetDescription('Book title')\n            -\u003esetType('string')\n            -\u003esetIsNullable(true)\n            -\u003ecomplete()\n        -\u003eaddAttribute('author')\n            -\u003ecomplete()\n    -\u003eforce()\n    -\u003ebuild();\n\n$eavFacade-\u003eschema()-\u003esave($eavSchemaFacade);\n\n```\n\n## Other docs\n\n* ### [Examples](docs/Examples.md)\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicro-php%2Fplugin-eav-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicro-php%2Fplugin-eav-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicro-php%2Fplugin-eav-core/lists"}