Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

composer correct installation location #24

Closed
Ali1 opened this issue Apr 4, 2014 · 1 comment
Closed

composer correct installation location #24

Ali1 opened this issue Apr 4, 2014 · 1 comment

Comments

@Ali1
Copy link

Ali1 commented Apr 4, 2014

Currently, your package installs as CakephpImaginePlugin in the Plugin directory. I was wondering how another Plugin that corrected itself had done so and found that they added installer-name at the bottom. I know this is a tough one for you as some users may already be using this plugin through composer but here's how your composer should look like:
https://github.com/cwbit/cakephp-aggregate-cache/blob/master/composer.json

{
    "name": "burzum/cakephp-imagine-plugin",
    "type": "cakephp-plugin",
    "description": "Imagine Plugin for CakePHP",
    "keywords": ["cakephp","media","image","image-processing"],
    "homepage": "https://github.com/burzum/cakephp-imagine-plugin",
    "license": "MIT",
    "authors": [
        {
            "name": "Florian Krämer",
            "homepage": "http://florian-kraemer.net"
        }
    ],
    "require": {
        "php": ">=5.3.2",
        "imagine/imagine": "*",
        "composer/installers": "*"
    },
    "extra": {
        "installer-name" : "Imagine"
    }
}
@burzum
Copy link
Owner

burzum commented Apr 7, 2014

Thanks, fixed it.

@burzum burzum closed this as completed Apr 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants