{"id":15658806,"url":"https://github.com/adamwojs/custom-policy-example-bundle","last_synced_at":"2025-03-30T02:43:26.427Z","repository":{"id":147304799,"uuid":"107310686","full_name":"adamwojs/custom-policy-example-bundle","owner":"adamwojs","description":"Example of integration the custom policy with UI for eZ Platform v1.X and v2.X.","archived":false,"fork":false,"pushed_at":"2017-10-20T20:03:20.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T05:20:18.422Z","etag":null,"topics":["ez-platform","ezplatform","ezpublish"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamwojs.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-10-17T18:50:28.000Z","updated_at":"2019-01-11T01:16:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"44cac471-952c-454a-8b04-1b823cbe5b01","html_url":"https://github.com/adamwojs/custom-policy-example-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/adamwojs%2Fcustom-policy-example-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojs%2Fcustom-policy-example-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojs%2Fcustom-policy-example-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojs%2Fcustom-policy-example-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamwojs","download_url":"https://codeload.github.com/adamwojs/custom-policy-example-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269912,"owners_count":20750319,"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":["ez-platform","ezplatform","ezpublish"],"created_at":"2024-10-03T13:14:07.793Z","updated_at":"2025-03-30T02:43:26.400Z","avatar_url":"https://github.com/adamwojs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# custom-policy-example-bundle\n\nThis repository contains example of integration the custom policy with UI for eZ Platform v1.X and v2.X. \n\n## Installation\n\n1. Add the following repository to `composer.json`:\n```json\n\"repositories\": [\n    { \n        \"type\": \"vcs\", \n        \"url\": \"https://github.com/adamwojs/custom-policy-example-bundle.git\" \n    }\n]\n```\n2. Require the bundle with composer \n```shell\ncomposer require \"adamwojs/custom-policy-example-bundle\" \"dev-master\"\n```\n3. Enable the bundle in the kernel:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    $bundles = array(\n        // ...\n        new AdamWojs\\CustomPolicyExampleBundle\\CustomPolicyExampleBundle(),  \n        // ...\n    );\n    \n    // ...\n}\n```\n\n4. Done. In the \"Add a new policy\" form you will be able to select \"Custom module / Custom function\" \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwojs%2Fcustom-policy-example-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamwojs%2Fcustom-policy-example-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwojs%2Fcustom-policy-example-bundle/lists"}