{"id":20601183,"url":"https://github.com/cleverage/eav-api-platform-bundle","last_synced_at":"2025-08-24T02:08:16.133Z","repository":{"id":56953679,"uuid":"187379144","full_name":"cleverage/eav-api-platform-bundle","owner":"cleverage","description":"Dedicated bundle for Sidus/EAVModelBundle compatibility with Api Platform","archived":false,"fork":false,"pushed_at":"2020-03-10T13:44:10.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"v1.0-dev","last_synced_at":"2025-02-17T13:04:51.853Z","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/cleverage.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}},"created_at":"2019-05-18T16:13:54.000Z","updated_at":"2020-03-10T13:44:12.000Z","dependencies_parsed_at":"2022-08-21T04:10:22.758Z","dependency_job_id":null,"html_url":"https://github.com/cleverage/eav-api-platform-bundle","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/cleverage%2Feav-api-platform-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feav-api-platform-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feav-api-platform-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleverage%2Feav-api-platform-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleverage","download_url":"https://codeload.github.com/cleverage/eav-api-platform-bundle/tar.gz/refs/heads/v1.0-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242241246,"owners_count":20095339,"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-16T09:08:55.771Z","updated_at":"2025-03-06T16:18:53.100Z","avatar_url":"https://github.com/cleverage.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CleverAge/EAVApiPlatformBundle\n=======================\n\nThis bundle provides basic support for Sidus/EAVModelBundle with ApiPlatform.\n\nWhen declaring any family as a resource for the Api, you need to declare a specific class for this family:\n\n[SidusEAVModelBundle/Documentation/12-custom_classes.html](https://vincentchalnot.github.io/SidusEAVModelBundle/Documentation/12-custom_classes.html)\n\nAnd for Hydra documenation to work you need to annotate your final classes with the ```@Family``` annotation.\n\nEverything else is basic ApiPlatform implementation.\n\n### Installation\n\nRequire Api Platform in your composer.json (with the version you need) as well as the EAV compatibility bundle if you\nneed to expose EAV data:\n\n````yaml\n{\n    # ...\n    \"require\": {\n        # ...\n        \"api-platform/api-platform\": \"2.1.*\",\n        \"cleverage/eav-api-platform-bundle\": \"1.0.*\"\n    }\n}\n````\n\nAdd the bundles to your kernel:\n\n````php\n\u003c?php\n        $projectBundles = [\n            // ...\n            new ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\ApiPlatformBundle(),\n            new CleverAge\\EAVApiPlatformBundle\\CleverAgeEAVApiPlatformBundle(),\n        ];\n````\n\n### Filters\n\nThis bundle provides 6 different filters for you to use in resource class declaration in place of Doctrine's\nApiPlatform's ones.\n\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\BooleanFilter```\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\DateFilter```\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\NumericFilter```\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\OrderFilter```\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\RangeFilter```\n - ```CleverAge\\EAVApiPlatformBundle\\Filter\\SearchFilter```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleverage%2Feav-api-platform-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleverage%2Feav-api-platform-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleverage%2Feav-api-platform-bundle/lists"}