{"id":23395795,"url":"https://github.com/netgen/ezpublish-legacy-installer","last_synced_at":"2025-08-21T09:07:49.970Z","repository":{"id":57703136,"uuid":"501257102","full_name":"netgen/ezpublish-legacy-installer","owner":"netgen","description":"A custom composer installer for eZ Publish legacy extensions","archived":false,"fork":false,"pushed_at":"2023-02-03T13:54:51.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-17T19:51:52.224Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netgen.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":"2022-06-08T13:12:22.000Z","updated_at":"2022-06-08T13:14:32.000Z","dependencies_parsed_at":"2023-02-18T18:10:15.307Z","dependency_job_id":null,"html_url":"https://github.com/netgen/ezpublish-legacy-installer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/netgen/ezpublish-legacy-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezpublish-legacy-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezpublish-legacy-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezpublish-legacy-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezpublish-legacy-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgen","download_url":"https://codeload.github.com/netgen/ezpublish-legacy-installer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezpublish-legacy-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271455204,"owners_count":24762701,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-22T07:18:22.625Z","updated_at":"2025-08-21T09:07:49.944Z","avatar_url":"https://github.com/netgen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer installer for eZ Publish Legacy Stack\n\nThis installer lets you install extensions for eZ Publish legacy (4.x) with [Composer](http://getcomposer.org).\n\nIt also helps you install eZ Publish legacy (4.x) itself, by not deleting your settings and custom code\nwhen you upgrade to a new release.\n\n## Installable extensions\nTo be able to install a legacy extension, it must be properly exposed to Composer with a valid composer.json file\n(check [Composer documentation](http://getcomposer.org/doc/) for more information), declaring an `ezpublish-legacy-extension` type.\n\nExample for SQLIImport:\n\n```json\n{\n    \"name\": \"lolautruche/sqliimport\",\n    \"type\": \"ezpublish-legacy-extension\",\n    \"description\": \"Import extension for eZ Publish legacy.\",\n    \"license\": \"GPL-2.0\",\n    \"minimum-stability\": \"dev\",\n    \"require\": {\n        \"php\": \"\u003e=5.3.3\",\n        \"ezsystems/ezpublish-legacy-installer\": \"*\"\n    }\n}\n```\n\n### Extension name vs package name\nBy default, the legacy extension gets installed in a directory named by your package pretty name. For example, package `lolautruche/sqliimport` gets installed in a directory named `sqliimport`.\nIf you ever need to name your composer package differently from your extension name (for example, legacy extension ezfind comes in a `ezsystems/ezfind-ls` package), you may tell composer to use a specifica extension name rather than the package's pretty name. Just add an `ezpublish-legacy-extension-name` extra option in your composer.json file :\n\n```json\n{\n    \"name\": \"ezsystems/ezfind-ls\",\n    \"description\": \"eZ Find is a search extension for eZ Publish legacy, providing more functionality and better results than the default search in eZ Publish.\",\n    \"type\": \"ezpublish-legacy-extension\",\n    \"license\": \"GPL-2.0\",\n    \"authors\": [\n        {\n            \"name\": \"eZ Publish dev-team \u0026 eZ Community\",\n            \"homepage\": \"https://github.com/ezsystems/ezfind/contributors\"\n        }\n    ],\n    \"minimum-stability\": \"dev\",\n    \"require\": {\n        \"ezsystems/ezpublish-legacy-installer\": \"*\"\n    },\n    \"extra\": {\n        \"ezpublish-legacy-extension-name\": \"ezfind\"\n    }\n}\n\n```\n\n## How to install in my project\nAll you need to do is create a composer.json at the root of your project and require the extension\n(if the extension is not published on packagist, you also need to tell composer where to find it):\n\n```json\n{\n    \"name\": \"myvendorname/myproject\",\n    \"description\": \"My super cool eZ Publish project\",\n    \"license\": \"GPL-2.0\",\n    \"minimum-stability\": \"dev\",\n    \"require\": {\n        \"php\": \"\u003e=5.3.3\",\n        \"lolautruche/sqliimport\": \"~1.2\"\n    },\n    \"repositories\" : [\n        {\n             \"type\": \"vcs\",\n             \"url\": \"https://github.com/lolautruche/sqliimport.git\"\n        }\n    ]\n}\n```\n\nThen run `php composer.phar install` (assuming you have already properly installed Composer of course :wink:).\n\n### eZ Publish 5 case\nBy default, the legacy extension installer assumes that eZ Publish legacy is installed in the current folder; in other\nwords, it is configured for pure-eZ Publish 4 projects.\nIf this is not the case (like in eZ Publish 5, where it resides in the `ezpublish_legacy/` folder), then you'll need to configure where it is:\n\n```json\n{\n    \"name\": \"myvendorname/myproject\",\n    \"description\": \"My super cool eZ Publish 5 project\",\n    \"license\": \"GPL-2.0\",\n    \"minimum-stability\": \"dev\",\n    \"require\": {\n        \"php\": \"\u003e=5.3.3\",\n        \"lolautruche/sqliimport\": \"~1.2\"\n    },\n    \"repositories\" : [\n        {\n             \"type\": \"vcs\",\n             \"url\": \"https://github.com/lolautruche/sqliimport.git\"\n        }\n    ],\n    \"extra\": {\n        \"ezpublish-legacy-dir\": \"ezpublish_legacy\"\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezpublish-legacy-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgen%2Fezpublish-legacy-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezpublish-legacy-installer/lists"}