Good day, i am trying to install flutterwave in my laravel project 9.0 and i have followed the instruction on the Github section https://github.com/kingflamez/laravelrave of flutterwave but i keep getting the following errors
Problem 1
- Root composer.json requires kingflamez/laravelrave ^4.2 -> satisfiable by kingflamez/laravelrave[v4.2.0].
- kingflamez/laravelrave v4.2.0 requires illuminate/support ^5.0|^6.0|^7.0|^8.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require kingflamez/laravelrave:*" to figure out if any version is installable, or "composer require kingflamez/laravelrave:^2.1" if you know which you need.
i have tried to change my composer.json but still no success.
"require": {
"php": "^7.2|^8.0.2",
"guzzlehttp/guzzle": "^6.3|^7.0.1|^7.2",
"illuminate/support": "^5.0|^6.0|^7.0|^8.0|^9.21",
"laravel/framework": "^9.11",
"laravel/sanctum": "^2.14.1",
"laravel/socialite": "^5.5",
"laravel/tinker": "^2.7",
"livewire/livewire": "^2.10",
"socialiteproviders/apple": "^5.2",
"socialiteproviders/facebook": "^4.1",
"socialiteproviders/google": "^4.1",
"kingflamez/laravelrave": "^4.2.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.9",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0"
},
the package is not updated to work with laravel 9 for now. I am having the same issue. i will try and raise the issue soon
Related
While upgrading from Laravel v6 to v7, composer update gets stuck at 'Updating dependencies'.
Running it in verbose mode gives me this message :
Looking at all rules.
Something's changed, looking at all rules again (pass #4709)
It keeps on checking the rules (infinite passes).
Here is my composer.json file:
{
"require": {
"php": "^7.2.5",
"barryvdh/laravel-dompdf": "^0.8.4",
"beyonic/beyonic-php": "*",
"doctrine/dbal": "^2.8",
"fideloper/proxy": "^4.0",
"giggsey/libphonenumber-for-php": "^8.12",
"guzzlehttp/guzzle": "^6.3",
"intervention/image": "^2.4",
"laravel/framework": "7.*",
"laravel/tinker": "^2.0",
"maatwebsite/excel": "^3.1",
"nesbot/carbon": "^2.31.0",
"phpoffice/phpspreadsheet": "^1.17",
"tymon/jwt-auth": "^1.0.0-rc.4.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^8.5"
}
Some dependencies are not compatible after we upgrade the version of Laravel. According to Laravel document, you must upgrade the version of the following dependencies.
(https://laravel.com/docs/7.x/upgrade#updating-dependencies)
laravel/framework to ^7.0
nunomaduro/collision to ^4.1
phpunit/phpunit to ^8.5
laravel/tinker to ^2.0
facade/ignition to ^2.0
Note:
You should also check the versions of the remaining dependencies.
Composer install is failing with:
`Could not load package ezsystems/ezplatform in https://repo.packagist.org: [UnexpectedValueException] Could not parse version constraint dev-load-varnish-only-when-used as ^2.0#dev: Invalid version string "^2.0#dev"`
The only problem is, we aren't calling that package...
Would anyone know how to figure out which package is causing the break?
Here's our composer.json file:
"require": {
"aws/aws-sdk-php": "^3.92",
"phpmailer/phpmailer": "^6.0",
"psr/log": "^1.1",
"symfony/polyfill-mbstring": "^1.11",
"guzzlehttp/guzzle": "~6.0",
"avalara/avataxclient": "*",
"salesforce-mc/fuel-sdk-php": "*"
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"require-dev": {
"php": "^7.0",
"phpunit/phpunit": "^6.0",
"fzaninotto/faker": "^1.9",
"doctrine/dbal": "^2.5",
"behat/mink": "^1.8",
"behat/mink-goutte-driver": "^1.2",
"dmore/chrome-mink-driver": "^2.0",
"ext-dom": "*"
},
"minimum-stability": "dev"
}
This was resolved with:
composer install self-update 1.10.10
There was a glitch with the composer upgrade the other day.
Another fix is:
composer install self-update
This will update to 1.10.12 and bypass the error.
When i run the command composer require appointer/swaggervel --dev to added this package to my project i have this error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for appointer/swaggervel ^2.5 -> satisfiable by appointer/swaggervel[v2.5].
- Conclusion: remove laravel/framework v7.8.1
- Conclusion: don't install laravel/framework v7.8.1
I did not understand what this error is and how I can correct it.
thank you in advance for answering my question.
Note : this is my composer.json file :
"require": {
"php": "^7.2.5",
"darkaonline/l5-swagger": "^7.0",
"doctrine/dbal": "~2.3",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^6.3",
"infyomlabs/adminlte-templates": "7.0.x-dev",
"infyomlabs/laravel-generator": "7.0.x-dev",
"infyomlabs/swagger-generator": "dev-master",
"laravel/framework": "^7.0",
"laravel/helpers": "^1.2",
"laravel/passport": "^8.4",
"laravel/tinker": "^2.0",
"laravelcollective/html": "^6.1",
"spatie/laravel-permission": "^3.11",
"zircote/swagger-php": "2.*"
},
"require-dev": {
"facade/ignition": "^2.0",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
this error can be resolved unsing this laravel package
composer require dagbouj-hatem/swaggervel --dev
This means that the package you are trying to install doesn't support your current version of Laravel (7.8.1)
You can see below the code of the package composer.json:
"require": {
"php": ">=5.6.0",
"illuminate/support": "^5.0|^6.0",
"swagger-api/swagger-ui": "^3.1",
"zircote/swagger-php": "^2.0"
},
I understand there has been a number of solutions provided for this question but I can't seem to find an answer.After running composer update I am getting this error Problem 1. What could be the issue? Here is the "required" section for the composer.json file.
"require": {
"barryvdh/laravel-ide-helper": "~2.4",
"doctrine/dbal": "~2.8",
"dompdf/dompdf": "~0.8",
"filp/whoops": "~2.2",
"guzzlehttp/guzzle": "~6.3",
"guzzlehttp/psr7": "~1.4",
"illuminate/support": "^6.12",
"intervention/image": "~2.4",
"laracasts/utilities": "~2.1",
"laravel/framework": "~5.6",
"laravel/socialite": "~3.0",
"laravelcollective/html": "^6.0",
"league/flysystem-aws-s3-v3": "~1.0",
"maatwebsite/excel": "~2.1",
"maxhoffmann/parsedown-laravel": "dev-master",
"mcamara/laravel-localization": "~1.2",
"mews/purifier": "^2.1",
"milon/barcode": "~5.3",
"nitmedia/wkhtml2pdf": "dev-master",
"omnipay/common": "~3",
"omnipay/dummy": "~3",
"omnipay/paypal": "~3",
"omnipay/stripe": "3.1",
"php-http/curl-client": "^1.7",
"php-http/message": "^1.6",
"predis/predis": "~1.1",
"vinelab/http": "~1.5",
"laravel/tinker": "^1.0",
"stripe/stripe-php": "^6.43",
"paynow/php-sdk": "^1.0",
"berzel/paynow-php": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "7.3.*",
"phpspec/phpspec": "5.0.*",
"fzaninotto/faker": "1.8.*",
"symfony/dom-crawler": "~3.0",
"symfony/css-selector": "~3.0"
},
One or many of your packages are looking for a different version of another / sub package. Not only does Laravel itself depend on a whole slew of different 3rd party packages, so do the packages you install. Keeping up to date on all of them is challenging.
If you look at the error reported:
Laracasts/utilities 2.1 requires illuminate/support ~5.0
It is telling you that this particular package you are trying to install (Laracasts utils) needs a v5 from illuminate/support. Most likely, if you are working with Laravel V6, you thus are likely pulling in an illuminate/support package of a different version than required.
Solution:
Either find an updated Laracast package that will accept a newer version of illuminate/support, or reduce Laravel to V5 (which will pull in an older version of support). Former is preferable :)
I'm trying to initialize my symfony project via composer.
But I obtain the following error:
Problem 1
- Installation request for pugx/shortid-php 1.* -> satisfiable by pugx/shortid-php[1.0.x-dev].
- pugx/shortid-php 1.0.x-dev requires php ^7.1 -> your PHP version (5.4.45) does not satisfy that requirement.
Problem 2
- Installation request for pugx/shortid-doctrine 1.* -> satisfiable by pugx/shortid-doctrine[1.0.x-dev].
- pugx/shortid-doctrine 1.0.x-dev requires pugx/shortid-php ^0.5 -> satisfiable by pugx/shortid-php[v0.5.0] but these conflict with your requirements or minimum-stability.
Problem 3
- Installation request for pugx/shortid-doctrine-bundle 1.* -> satisfiable by pugx/shortid-doctrine-bundle[1.0.x-dev].
- pugx/shortid-doctrine-bundle 1.0.x-dev requires pugx/shortid-doctrine ^0.4 -> satisfiable by pugx/shortid-doctrine[v0.4.0] but these conflict with your requirements or minimum-stability.
I'm working with PHP 5.4
Below I show an excerpt of my composer.json:
{
...
"autoload": {
"psr-4": { "": "src/" }
},
"require": {
"php": "^5.4",
"symfony/symfony": "~2.7",
"doctrine/orm": "~2.5",
"doctrine/doctrine-bundle": "~1.4",
"twig/extensions": "~1.0",
"pugx/shortid-php": "1.*#dev",
"pugx/shortid-doctrine": "1.*#dev",
"pugx/shortid-doctrine-bundle": "1.*#dev",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/framework-extra-bundle": "~3.0",
"sensio/distribution-bundle": "~4.0",
"sensio/generator-bundle": "~2.3",
"jms/serializer": "0.16.0",
"justinrainbow/json-schema": "^5.2"
},
"require-dev": {
"beelab/test-bundle": "~1.0",
"doctrine/doctrine-fixtures-bundle": "2.2.*",
"incenteev/composer-parameter-handler": "~2.0",
"phpunit/phpunit": "4.*",
"fabpot/php-cs-fixer": "~1.5"
},
"config": {
"bin-dir": "bin"
},
...
}
How can I resolve these errors?
The error message says it all: pugx/shortid-php 1.0.x-dev requires php ^7.1
You will need to either upgrade your project to PHP 7.1 or replace the dependency with a version compatible with PHP 5.4.