Git Product home page Git Product logo

Comments (5)

Danielpk avatar Danielpk commented on August 15, 2024

Im not sure if it is a bug of installers or composer..

from installers.

shama avatar shama commented on August 15, 2024

It should be "composer/installers": "*", with an 's'. Let me know if that fixes it.

EDIT: Also that package doesn't have a composer.json file therefore unfortunately isn't a composer package. You can send him a pull request though ;)

Until then you could try to put the require in your own repo definition like this:

{
    "repositories":{
        "cakephp-unofficial":{
            "type": "package",
            "package": {
                "type": "cakephp-plugin",
                "name": "pronique/Sluggable",
                "version": "1.0",
                "source": {
                    "url": "git://github.com/pronique/CakePHP-Sluggable-Behavior.git",
                    "type": "git",
                    "reference": "origin/master"
                },
                "require": {
                    "composer/installers": "*"
                }
            }
        }
    },
    "require": {
        "php": ">=5.3",
        "pronique/Sluggable": "*"
    }
}

I haven't tried this though. So let me know if it works :)

EDIT AGAIN: Sorry didn't read the headline. libs without packages is what you're asking, heh.

from installers.

shama avatar shama commented on August 15, 2024

Just tried it with the above changes and it worked. I modified the name of the package to fit better into cakephp (Sluggable instead of Cakephp-Sluggable-Behavior). I will have some docs on this soon. Thanks!

from installers.

Danielpk avatar Danielpk commented on August 15, 2024

My mistake, i miss "s".

Thx.

from installers.

Seldaek avatar Seldaek commented on August 15, 2024

@Danielpk the problem was that there are two types, the repository type (package), and the package type (cakephp-plugin), that's what it was telling you with Repository type is not registered: cakephp-plugin - you set the package type in the repo type.

from installers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.