GithubHelp home page GithubHelp logo

Require PHP 7.1? about yii2-rbac HOT 9 CLOSED

yii2mod avatar yii2mod commented on September 14, 2024
Require PHP 7.1?

from yii2-rbac.

Comments (9)

ihorchepurnyi avatar ihorchepurnyi commented on September 14, 2024

I think it's not a problem if you want you can always install the previous version of the package. Many of packages already require php 7.1, for example

from yii2-rbac.

thiagotalma avatar thiagotalma commented on September 14, 2024

You are right to be inspired by the great packages.

But let's study how they do the work:

See that they have a lot of work making modifications and improvements in several versions, but always maintaining compatibility.

Small extensions like yours and mine also have this option to keep multiple versions, but we know that this is not feasible.

So the best option would be to ensure that most people can use our extensions, either by following the yii2 requirement or at most the stable version of the most common distros (debian, ubuntu, centos, etc ...).

from yii2-rbac.

ihorchepurnyi avatar ihorchepurnyi commented on September 14, 2024

Ok, I understand. I'll update php version to 7.0 later

from yii2-rbac.

thiagotalma avatar thiagotalma commented on September 14, 2024

That's it!
Good job

from yii2-rbac.

thiagotalma avatar thiagotalma commented on September 14, 2024

@igor-chepurnoi You can take the opportunity to release a version ;-)

from yii2-rbac.

ihorchepurnyi avatar ihorchepurnyi commented on September 14, 2024

Of course, thanks)

from yii2-rbac.

thiagotalma avatar thiagotalma commented on September 14, 2024

Hello @igor-chepurnoi
Do you have an estimate when you can release the new version?

from yii2-rbac.

ihorchepurnyi avatar ihorchepurnyi commented on September 14, 2024

Hi, @thiagotalma
I will do it today.

from yii2-rbac.

IvoPereira avatar IvoPereira commented on September 14, 2024

Hello @igor-chepurnoi!

Have you ever concluded this issue?

I've encountered this again today when requiring the package:

Resolving dependencies through SAT
Dependency resolution completed in 0.001 seconds
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - zendframework/zend-code 3.3.0 requires php ^7.1 -> your PHP version (7.0.14) does not satisfy that requirement.
    - zendframework/zend-code 3.3.0 requires php ^7.1 -> your PHP version (7.0.14) does not satisfy that requirement.
    - Installation request for zendframework/zend-code (locked at 3.3.0) -> satisfiable by zendframework/zend-code[3.3.0].


Installation failed, reverting ./composer.json to its original content.

from yii2-rbac.

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.