Terminal - 4 Problems Listed
When using composer create-project minishlink/web-push-php-example in the terminal I get 4 problems.
They include the following:
Problem 1 - minishlink/web-push is locked to version v6.0.0 and an update of this package was not requested. - minishlink/web-push v6.0.0 requires ext-gmp * -> it is missing from your system. Install or enable PHP's gmp extension. Problem 2 - paragonie/random_compat is locked to version v9.99.99 and an update of this package was not requested. - paragonie/random_compat v9.99.99 requires php ^7 -> your php version (8.0.9) does not satisfy that requirement. Problem 3 - web-token/jwt-util-ecc is locked to version v2.1.9 and an update of this package was not requested. - web-token/jwt-util-ecc v2.1.9 requires ext-gmp * -> it is missing from your system. Install or enable PHP's gmp extension. Problem 4 - paragonie/random_compat v9.99.99 requires php ^7 -> your php version (8.0.9) does not satisfy that requirement. - symfony/polyfill-php70 v1.18.0 requires paragonie/random_compat ~1.0|~2.0|~9.99 -> satisfiable by paragonie/random_compat[v9.99.99]. - symfony/polyfill-php70 is locked to version v1.18.0 and an update of this package was not requested.
Has anyone else experienced these problems? I am trying to solve them but to no avail. Any help would be greatly appreciated.
I got the same error message by php 8.0.25 version
problem solved, try to update all vendor dependency by $ composer update from your terminal.