Giter Site home page Giter Site logo

Comments (4)

kelunik avatar kelunik commented on June 18, 2024 2

@unreal4u Composer will prevent people running older versions from installing the newer version based on amphp/http-client. I've worked around it with a hack for now: kelunik/mellon@0c05ef9#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780R31-R32

from telegram-api.

unreal4u avatar unreal4u commented on June 18, 2024

Hi and thanks for the issue.

I will be developing in this library this wednesday so I can pick it up then as this seems an easy fix.

from telegram-api.

unreal4u avatar unreal4u commented on June 18, 2024

Mm, this is a tricky one as the minimal required PHP version is 7.2 for this new package. I'm all in for supporting new PHP versions, but this would break the current installations that still use old PHP versions.

I will leave this for v4 of this library, thanks!

from telegram-api.

zakharenka avatar zakharenka commented on June 18, 2024

Hi @unreal4u, I have a problem with using amphp/http-client and amphp/artax (in this library) both.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - amphp/artax v3.0.9 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.8 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.7 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.6 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.5 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.4 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.3 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.2 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.14 requires amphp/file ^0.2 || ^0.3 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4, v0.3.0, v0.3.1, v0.3.2, v0.3.3, v0.3.4, v0.3.5, v0.3.x-dev] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.13 requires amphp/file ^0.2 || ^0.3 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4, v0.3.0, v0.3.1, v0.3.2, v0.3.3, v0.3.4, v0.3.5, v0.3.x-dev] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.12 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.11 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.10 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.1 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - amphp/artax v3.0.0 requires amphp/file ^0.2 -> satisfiable by amphp/file[v0.2.0, v0.2.1, v0.2.2, v0.2.3, v0.2.4] but these conflict with your requirements or minimum-stability.
    - unreal4u/telegram-api v3.6.0 requires amphp/artax ^3 -> satisfiable by amphp/artax[v3.0.0, v3.0.1, v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
    - Installation request for unreal4u/telegram-api ^3.6 -> satisfiable by unreal4u/telegram-api[v3.6.0].

My composer require:

  "require": {
    "ext-json": "*",
    "ext-mbstring": "*",
    "sunra/php-simple-html-dom-parser": "^1.5",
    "concrete5/dependency-patches": "^1.3.0",
    "amphp/http-client": "^4.4",
    "amphp/http-client-cookies": "^1.0",
    "amphp/file": "^1.0",
    "amphp/log": "^1.1",
    "unreal4u/telegram-api": "^3.6"
  },

from telegram-api.

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.