From a4cc7e7f671a508fccfd5c2bf4576db5f328fcf7 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Wed, 17 Aug 2016 15:35:35 -0500 Subject: [PATCH] Expose module to zend-component-installer This adds configuration to allow zend-component-installer to detect that this is a module, and then attempt to add it to the ZF application on successful installation via Composer. --- composer.json | 5 +++++ composer.lock | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index fc6e0d1..dfb7e5f 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,11 @@ "homepage": "http://www.michaelgallego.fr/" } ], + "extra": { + "zf": { + "module": "ZfrCors" + } + }, "require": { "php": "^5.6 || ^7.0", "zendframework/zend-eventmanager": "^2.6.3 || ^3.0.1", diff --git a/composer.lock b/composer.lock index 2116398..2138403 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "68af1fcb78c1aaaccd2ee3bb6421893f", - "content-hash": "56383fd572811e663239073c077926fd", + "hash": "39efbda0b11292e9cece7e4428e37411", + "content-hash": "0c7df4d70ec7aafc4f61583f488162b7", "packages": [ { "name": "container-interop/container-interop", @@ -2970,8 +2970,8 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": [], - "prefer-stable": true, - "prefer-lowest": true, + "prefer-stable": false, + "prefer-lowest": false, "platform": { "php": "^5.6 || ^7.0" },