Git Product home page Git Product logo

Comments (9)

aaronm67 avatar aaronm67 commented on July 26, 2024

What packages are you seeing require PHP 8.0.2?

from vimeo.php.

plattenbrand avatar plattenbrand commented on July 26, 2024

symfony/console
symfony/deprecation-contracts
symfony/event-dispatcher
symfony/event-dispatcher-contracts
symfony/http-foundation
symfony/mime
symfony/service-contracts
symfony/string
symfony/translation
symfony/translation-contracts

That should be all

from vimeo.php.

aaronm67 avatar aaronm67 commented on July 26, 2024

This library doesn't depend on most of these packages, you're seeing a PHP 8 dependency from elsewhere.

from vimeo.php.

plattenbrand avatar plattenbrand commented on July 26, 2024

Here is what happens once I require Vimeo/vimeo-api via composer

% composer require vimeo/vimeo-api
Using version ^3.0 for vimeo/vimeo-api
./composer.json has been updated
Running composer update vimeo/vimeo-api
Loading composer repositories with package information Updating dependencies
Lock file operations: 31 installs, 0 updates, 0 removals

  • Locking ankitpokhrel/tus-php (v2.2.0)
  • Locking brick/math (0.9.3)
  • Locking guzzlehttp/guzzle (7.4.1)
  • Locking guzzlehttp/promises (1.5.1)
  • Locking guzzlehttp/psr7 (2.1.0)
  • Locking nesbot/carbon (2.56.0)
  • Locking predis/predis (v1.1.10)
  • Locking psr/container (2.0.2)
  • Locking psr/event-dispatcher (1.0.0)
  • Locking psr/http-client (1.0.1)
  • Locking psr/http-factory (1.0.1)
  • Locking psr/http-message (1.0.1)
  • Locking ralouphie/getallheaders (3.0.3)
  • Locking ramsey/collection (1.2.2)
  • Locking ramsey/uuid (4.2.3)
  • Locking symfony/console (v6.0.3)
  • Locking symfony/deprecation-contracts (v3.0.0)
  • Locking symfony/event-dispatcher (v6.0.3)
  • Locking symfony/event-dispatcher-contracts (v3.0.0)
  • Locking symfony/http-foundation (v6.0.3)
  • Locking symfony/mime (v6.0.3)
  • Locking symfony/polyfill-intl-grapheme (v1.24.0)
  • Locking symfony/polyfill-intl-idn (v1.24.0)
  • Locking symfony/polyfill-intl-normalizer (v1.24.0)
  • Locking symfony/polyfill-php72 (v1.24.0)
  • Locking symfony/polyfill-php81 (v1.24.0)
  • Locking symfony/service-contracts (v3.0.0)
  • Locking symfony/string (v6.0.3)
  • Locking symfony/translation (v6.0.3)
  • Locking symfony/translation-contracts (v3.0.0)
  • Locking vimeo/vimeo-api (3.0.8)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 31 installs, 0 updates, 0 removals
  • Installing symfony/deprecation-contracts (v3.0.0): Extracting archive
  • Installing psr/http-message (1.0.1): Extracting archive
  • Installing psr/http-client (1.0.1): Extracting archive
  • Installing ralouphie/getallheaders (3.0.3): Extracting archive
  • Installing psr/http-factory (1.0.1): Extracting archive
  • Installing guzzlehttp/psr7 (2.1.0): Extracting archive
  • Installing guzzlehttp/promises (1.5.1): Extracting archive
  • Installing guzzlehttp/guzzle (7.4.1): Extracting archive
  • Installing symfony/translation-contracts (v3.0.0): Extracting archive
  • Installing symfony/translation (v6.0.3): Extracting archive
  • Installing nesbot/carbon (2.56.0): Extracting archive
  • Installing predis/predis (v1.1.10): Extracting archive
  • Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
  • Installing ramsey/collection (1.2.2): Extracting archive
  • Installing brick/math (0.9.3): Extracting archive
  • Installing ramsey/uuid (4.2.3): Extracting archive
  • Installing symfony/polyfill-intl-normalizer (v1.24.0): Extracting archive
  • Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
  • Installing symfony/string (v6.0.3): Extracting archive
  • Installing psr/container (2.0.2): Extracting archive
  • Installing symfony/service-contracts (v3.0.0): Extracting archive
  • Installing symfony/console (v6.0.3): Extracting archive
  • Installing psr/event-dispatcher (1.0.0): Extracting archive
  • Installing symfony/event-dispatcher-contracts (v3.0.0): Extracting archive
  • Installing symfony/event-dispatcher (v6.0.3): Extracting archive
  • Installing symfony/http-foundation (v6.0.3): Extracting archive
  • Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
  • Installing symfony/polyfill-intl-idn (v1.24.0): Extracting archive
  • Installing symfony/mime (v6.0.3): Extracting archive
  • Installing ankitpokhrel/tus-php (v2.2.0): Extracting archive
  • Installing vimeo/vimeo-api (3.0.8): Extracting archive
    14 package suggestions were added by new dependencies, use composer suggest to see details.
    Generating optimized autoload files
    39 packages you are using are looking for funding.
    Use the composer fund command to find out more!

from vimeo.php.

plattenbrand avatar plattenbrand commented on July 26, 2024

so the dependence is triggered by vimeo-api

from vimeo.php.

aaronm67 avatar aaronm67 commented on July 26, 2024

Can you run php -v - this library supports PHP8, it doesn't require it.

from vimeo.php.

plattenbrand avatar plattenbrand commented on July 26, 2024

vagrant@www:~$ php -v
PHP 7.4.27 (cli) (built: Dec 20 2021 21:28:15) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies

from vimeo.php.

plattenbrand avatar plattenbrand commented on July 26, 2024

ok, fixed it. I had a local ver of php 8.1.2 running and the server is on 7.4
That mismatch caused it. Did not think it would have that kind of effect.
Thanks for your help

from vimeo.php.

aaronm67 avatar aaronm67 commented on July 26, 2024

Great, glad to help!

from vimeo.php.

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.