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

Composer support #11

Open
joseym opened this issue Jun 25, 2012 · 10 comments
Open

Composer support #11

joseym opened this issue Jun 25, 2012 · 10 comments

Comments

@joseym
Copy link

joseym commented Jun 25, 2012

It would be glorious if this project were officially on packagist.org. Currently there's a fork that resides on packagist but it's always best if the actual project is available via composer.

http://packagist.org/packages/underscore/Underscore.php

@radmen
Copy link

radmen commented Jun 25, 2012

+1 for that.

@joseym
Copy link
Author

joseym commented Jun 25, 2012

I'm going to go ahead and build the composer.json file and issue a PR - hopefully it will be accepted.

@radmen
Copy link

radmen commented Jun 25, 2012

The problem is that @brianhaveri seems not to be very active on Github lately..

@brianhaveri
Copy link
Owner

Yeah, I've been a little swamped. I'm trying to get through the issues list this week though. More to come.

@radmen
Copy link

radmen commented Jun 25, 2012

@brianhaveri well it's nice to know that You're alive :)

@joseym
Copy link
Author

joseym commented Jun 25, 2012

@brianhaveri great to see you!

@hjr3
Copy link

hjr3 commented Oct 22, 2012

@joseym Did you submit a PR? I did not see one.

A big 👍 for composer support for underscore.

@nicklasos
Copy link

And what about composer support?

@zacharymarshal
Copy link

I got this to work by making my composer.json look like this.

{
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "brianhaveri/Underscore.php",
                "version": "dev-master",
                "source": {
                    "url": "https://github.com/brianhaveri/Underscore.php",
                    "type": "git",
                    "reference": "master"
                },
                "autoload": {
                    "classmap": ["underscore.php"]
                }
            }
        }
    ],
    "require": {
        "brianhaveri/Underscore.php": "dev-master"
    }
}

@DannyFeliz
Copy link

Thanks @zacharyrankin this works for me 👍

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

7 participants