From db76e3ba10f23c438bd5f702a4dc1fb3265cd462 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Fri, 29 Sep 2023 21:22:22 +0200 Subject: [PATCH] Rename composer project --- README.md | 4 ++-- composer.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 57c13b5..84fc173 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A demo installation can be found [here](https://demo.opencultureconsulting.com/o ## Installation -1. Run `composer create-project opencultureconsulting/oai_pmh `. +1. Run `composer create-project opencultureconsulting/simple-oai-pmh `. 2. Create a data directory in a location not publicly accessible (i. e. outside of ``). Create a subdirectory inside the specified data directory for every format (i. e. `metadataPrefix`) you want to provide. @@ -24,7 +24,7 @@ A demo installation can be found [here](https://demo.opencultureconsulting.com/o 1. Backup `Configuration/Main.php`! -2. Delete `` and re-install by running `composer create-project opencultureconsulting/oai_pmh `. +2. Delete `` and re-install by running `composer create-project opencultureconsulting/simple-oai-pmh `. 3. Move your configuration back into `Configuration/Main.php`. diff --git a/composer.json b/composer.json index 6b6917e..2f1b2ad 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "opencultureconsulting/oai_pmh", + "name": "opencultureconsulting/simple-oai-pmh", "description": "This is a stand-alone and easy to install data provider implementing the Open Archives Initiative's Protocol for Metadata Harvesting (OAI-PMH).", "type": "project", "keywords": [ @@ -49,6 +49,9 @@ "php": "^7.0|^8.0", "ext-xml": "*" }, + "replace": { + "opencultureconsulting/oai_pmh": "self.version" + }, "autoload": { "psr-4": { "OCC\\OAI2\\": "Classes/"