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

Fail to install using composer #1

Closed
groyal opened this issue Jul 30, 2017 · 2 comments
Closed

Fail to install using composer #1

groyal opened this issue Jul 30, 2017 · 2 comments

Comments

@groyal
Copy link

groyal commented Jul 30, 2017

I am having trouble installing through composer.
I get this error:

I have tried both "saintsystems/dynamics-sdk-php" and "Microsoft/Dynamics"
Thanks

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package saintsystems/dynamics-sdk-php 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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
@anderly
Copy link
Member

anderly commented Jul 31, 2017

Hi Greg, apologies for the issue installing. We haven't published this package to composer as some components are in-flux. However, you should be able to install directly from GitHub using the following in your composer.json:

"repositories": [{
    "type": "package",
    "package": {
        "version": "dev-master",
        "name": "saintsystems/dynamics-sdk-php",
        "source": {
            "url": "https://github.com/saintsystems/dynamics-sdk-php.git",
            "type": "git",
            "reference": "master"
        }
    }
}],
"require": {
    "saintsystems/dynamics-sdk-php": "dev-master"
},

Just a heads up, the namespace of this project will eventually change from Microsoft\Dynamics to SaintSystems\Dynamics or something similar.

Let me know if run into any issues installing using the approach above.

@groyal
Copy link
Author

groyal commented Jul 31, 2017

thanks, I got it running by downloading it. Was looking for a way to use composer to integrate with OAUTH2 package TheNetworg/oauth2-azure. So downloaded zip file and ran their composer

"composer require thenetworg/oauth2-azure"

@groyal groyal closed this as completed Jul 31, 2017
@synergy6 synergy6 mentioned this issue Apr 10, 2018
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

2 participants