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

Making Sparrow and Package on Packagist #17

Open
masterbee opened this issue Apr 20, 2015 · 2 comments
Open

Making Sparrow and Package on Packagist #17

masterbee opened this issue Apr 20, 2015 · 2 comments

Comments

@masterbee
Copy link

Hi @mikecao , just wondering if you had the intention to package up Sparrow for inclusion into Packagist. There is already someone with a fork of your class so not sure if you plan on making this available.
👍 for a great Database Layer. Simple yet elegant.

@mikecao
Copy link
Owner

mikecao commented Apr 21, 2015

I'm planning on a rewrite to make it more object oriented, so I may wait until then.

@Jekis
Copy link

Jekis commented Apr 21, 2018

Some workaround. How to require this library from composer.

composer.json

{
    "autoload": {
        "files": [
            "vendor/mikecao/sparrow/sparrow.php"
        ]
    },
    "require": {
        "mikecao/sparrow": "0.1"
    },
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "mikecao/sparrow",
                "version": "0.1",
                "dist": {
                    "url": "https://github.com/mikecao/sparrow/archive/v0.1.zip",
                    "type": "zip"
                }
            }
        }
    ]
}

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

No branches or pull requests

3 participants