Freid001 Posted November 26, 2015 Share Posted November 26, 2015 (edited) Hi, I am trying to do a composer install on a project I am working on at the moment. I have previously create a git repo with some content I want to use in my current project. My git repo: https://github.com/FreidCreations/freid-query { "name": "Freid Query", "description": "A database access layer (DAL) built on top of PDO.", "license": "MIT", "authors": [ { "name": "Fraser Reid", "email": "freid001@hotmail.co.uk", "homepage": "http://freidcreations.atwebpages.com/" } ], "require": { "php": ">=5.4" }, "autoload": { "psr-4": { "myNamespace\\": "freid-query/" } } } In my project: { "repositories": [{ "type": "vcs", "url": "https://github.com/FreidCreations/freid-query" }], "require": { "php": ">=5.4" }, "require-dev": { "FreidCreations/freid-query": "dev-master" }, "autoload": { "classmap": [ "application/controller", "application/config", "application/core", "application/model", "application/table" ], "psr-4": { "myNamespace\\": "application/" } } } However when I do a composer install on my project I get the following errors: # composer install Warning: This development build of composer is over 60 days old. It is recommended to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-update" to get the latest version. Loading composer repositories with package information Installing dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package freidcreations/freid-query could not be found in any version, there may be a typo in the package name. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. I am new to using composer as you can probable tell. What am I doing wrong here? Any help would be really appreciated. Many Thanks Edited November 26, 2015 by Freid001 Quote Link to comment Share on other sites More sharing options...
Freid001 Posted November 26, 2015 Author Share Posted November 26, 2015 SOLVED: Name of repo composer.json was incorrect. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.