jakajancar / DropboxUploader

MIT License
203 stars 114 forks source link

[Feature] Make DropboxUploader a composer package #21

Closed dimsav closed 10 years ago

dimsav commented 11 years ago

Packagist (https://packagist.org) is becoming lately a standard for managing dependencies in php projects. It also makes updating dependencies a piece of cake.

It would be great to see DropboxUploader in packagist.

hakre commented 11 years ago

Lately? I'd say it took the domain by storm last year or so :) +1 from my end so far.

ziadoz commented 11 years ago

It'd be nice for this to happen soon, but in the meantime you can still pull the project down by putting this in your composer.json file:

{
    "require": {
        "jakajancar/dropboxuploader": "1.1.12"
    },
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "jakajancar/dropboxuploader",
                "version": "1.1.12",
                "source": {
                    "url": "https://github.com/jakajancar/DropboxUploader",
                    "type": "git",
                    "reference": "master"
                },
                "autoload": {
                    "classmap": ["DropboxUploader.php"]
                }
            }
        }
    ]
}
dimsav commented 11 years ago

Thanks @ziadoz

ziadoz commented 10 years ago

No problem.

hakre commented 10 years ago

@dimsav , @ziadoz : If you're interested, a first dropboxuploader package is available in the development branch: https://github.com/hakre/DropboxUploader - If you still have interest in this, please do two tests: Development and Inclusion.

For Development, clone the git repository, checkout the development branch, composer install. Run the tests.

For Inclusion, create a new project and require the package from Packagist; https://packagist.org/packages/hakre/dropboxuploader

hakre commented 10 years ago

On Packagist it's now: https://packagist.org/packages/hakre/dropbox-uploader

hakre commented 10 years ago

And now via tagged releases aligned with master. so this is done.