Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add composer.json for composer support #15

Open
wants to merge 1 commit into
base: 3.1.0
Choose a base branch
from
Open

add composer.json for composer support #15

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 26, 2013

This would allow addition of the OnApp API via this in a composer file:

{
    "repositories": [
        {   
            "type": "vcs",
            "url": "https://github.com/OnApp/OnApp-PHP-Wrapper-External"
        }
    ],
    "require": {
        "onapp/onapp-php-wrapper-external": "3.1.0.x-dev"
    }
}

Once added, it could be quickly installed by using composer install, with autoloading set up correctly. This can be tested via my fork by changing the VCS URL to https://github.com/james-lsn/OnApp-PHP-Wrapper-External

This also forces the dependencies mentioned here

No other changes must be made as far as I can see, though you could submit it to Packagist so the custom repository would not be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants