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 requirements #91

Open
winzou opened this issue Jul 17, 2017 · 4 comments
Open

Composer requirements #91

winzou opened this issue Jul 17, 2017 · 4 comments

Comments

@winzou
Copy link

winzou commented Jul 17, 2017

Hi,

The current composer requirements make it annoying to install:

$ composer create-project payum/payum-bundle-sandbox payum-sandbox
Installing payum/payum-bundle-sandbox (0.10.0)
  - Installing payum/payum-bundle-sandbox (0.10.0): Downloading (100%)
Created project in payum-sandbox
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for authorizenet/authorizenet 1.8.3.3 -> satisfiable by authorizenet/authorizenet[1.8.3.3].
    - authorizenet/authorizenet 1.8.3.3 requires php ~5.3 -> your PHP version (7.0.0) does not satisfy that requirement.
  Problem 2
    - Installation request for doctrine/mongodb 1.3.0 -> satisfiable by doctrine/mongodb[1.3.0].
    - doctrine/mongodb 1.3.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
  Problem 3
    - doctrine/mongodb 1.3.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
    - doctrine/mongodb-odm 1.1.1 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0].
    - Installation request for doctrine/mongodb-odm 1.1.1 -> satisfiable by doctrine/mongodb-odm[1.1.1].

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\wamp\bin\php\php7.0.0\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Is MongoDB mandatory to use the sandbox?

Thanks!

@makasim
Copy link
Owner

makasim commented Jul 18, 2017

The sandox was created to manually test various things before a release. The mongodb is one of those things.

@makasim
Copy link
Owner

makasim commented Jul 18, 2017

I'd suggest using a docker-compose.yml which is in the project. You'll get a working sandbox without setting anything at all.

@winzou
Copy link
Author

winzou commented Jul 19, 2017

Thanks Maksim, finally I managed to easily remove the conflicting requirements and config. I'm working on the Asian gateway 2c2p, will publish it soon ;)

@brucepc
Copy link

brucepc commented Dec 21, 2017

How to workaround it
composer config "platform.ext-mongo" "1.6.16" && composer require alcaeus/mongo-php-adapter

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

3 participants