Git Product home page Git Product logo

Comments (3)

jdreesen avatar jdreesen commented on July 23, 2024 1

I just tried this in a fresh project (no other dependencies) and it installs v10.0 as expected:

$ composer require spomky-labs/otphp
Using version ^10.0 for spomky-labs/otphp
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 4 installs, 0 updates, 0 removals
  - Installing thecodingmachine/safe (v0.1.16): Downloading (100%)
  - Installing beberlei/assert (v3.2.7): Downloading (100%)
  - Installing paragonie/constant_time_encoding (v2.3.0): Downloading (100%)
  - Installing spomky-labs/otphp (v10.0.0): Downloading (100%)
Writing lock file
Generating autoload files

Thus, I assume there are other dependencies in your project that prevent installing the latest version.

What's your PHP version?
Do you have any of the other dependencies that are listed above installed?
What's the output of composer require spomky-labs/otphp:^9.0 or composer require spomky-labs/otphp:^10.0?


@Spomky maybe the default branch should be changed to v10.0?

from otphp.

yohancreemers avatar yohancreemers commented on July 23, 2024 1

Sorry, my fault. Composer was running on PHP 5.6.31, and therefor falling back to otphp v8.3.
Thanks for your quick responses.

from otphp.

Spomky avatar Spomky commented on July 23, 2024

I've just changed the default branch to v10. Anyway I'm not sure it will solve the issue.
I agree with @jdreesen and it looks like you have a dependency in your project that prevent the newest versions to be installed.

from otphp.

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.