ohader / scanner

Extraction of TYPO3 CMS Extension-Scanner package as separate composer library
12 stars 8 forks source link

Scanner can not be installed via composer #13

Closed Cabag closed 4 years ago

Cabag commented 4 years ago

Currently it is not possible to install the package via composer. When requiring typo3/cms-scanner as the composer name suggests, I get the error - The requested package typo3/cms-scanner could not be found in any version, there may be a typo in the package name. which is clear since the package is not available at packagist.

I tried adding the github url as repo in my composer.json like this:

"repositories": [
    {"type": "vcs", "url": "https://github.com/ohader/scanner"}
]

but I am still getting the same error.

What can I do to add the extension scanner to my project?

DavidBruchmann commented 4 years ago

As the repository never has a release you've to require dev-master or a specific branch or state.

    "require": {
        "typo3/cms-scanner": "dev-master"
    },
Cabag commented 4 years ago

Thanks for the hint. Thought that

 "require": {
    "typo3/cms-scanner": "*"
},

would also include dev-master.

Closing.