Coder Social home page Coder Social logo

Support PHP 8 about sendportal-core HOT 4 CLOSED

mettle avatar mettle commented on June 1, 2024
Support PHP 8

from sendportal-core.

Comments (4)

b0rt avatar b0rt commented on June 1, 2024 1

can confirm install fails

curl -s https://laravel.build/sendportal-tryout | bash
cd sendportal-tryout && ./vendor/bin/sail up -d
sail composer require mettle/sendportal-core
[InvalidArgumentException]                                                                                                    
  Package mettle/sendportal-core has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

and this more verbose message when adding "mettle/sendportal-core": "^2.0" to composer.json and running composer update

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mettle/sendportal-core[v2.0.0, ..., v2.0.1] require php ^7.3 -> your php version (8.0.3) does not satisfy that requirement.
    - Root composer.json requires mettle/sendportal-core ^2.0 -> satisfiable by mettle/sendportal-core[v2.0.0, v2.0.1].

from sendportal-core.

JonoB avatar JonoB commented on June 1, 2024

I've not seen this before, but I suspect that its due to Composer using a different php version. See https://stackoverflow.com/questions/60361906/package-laravel-ui-at-version-has-a-php-requirement-incompatible-with-your-php-v for example

from sendportal-core.

irakan avatar irakan commented on June 1, 2024

Tried that, I am pretty sure its not a composer issue...

I forked the package and added 8.0 to composer.json which fixed this:

"php": "^7.3|^8.0",

from sendportal-core.

digiservnet avatar digiservnet commented on June 1, 2024

I was looking to try SendPortal and also came across the same issue running in my PHP 8.0.3 docker container, so there's no other PHP versions lurking around.

root@d6083bd064f5:/application/src# composer req mettle/sendportal-core

                                                                                                                                
  [InvalidArgumentException]                                                                                                    
  Package mettle/sendportal-core has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version  
                                                                                                                                
PHP 8.0.3 (cli) (built: Mar 13 2021 02:32:59) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
    with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans

from sendportal-core.

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.