Flutterwave / PHP-v3

PHP Library for Flutterwave v3 APIs
MIT License
19 stars 18 forks source link

Error installing in Laravel 9 #31

Closed Stancobridge closed 2 years ago

Stancobridge commented 2 years ago

I cannot install this package in Laravel 9 Here is the error am getting

    - flutterwavedev/flutterwave-v3 1.0.0 requires monolog/monolog 1.* -> found monolog/monolog[1.0.0-RC1, ..., 1.x-dev] but the package is fixed to 2.6.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - flutterwavedev/flutterwave-v3 1.0.1 requires vlucas/phpdotenv ^2.5 -> found vlucas/phpdotenv[v2.5.0, ..., 2.6.x-dev] but the package is fixed to v5.4.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires flutterwavedev/flutterwave-v3 ^1.0 -> satisfiable by flutterwavedev/flutterwave-v3[1.0.0, 1.0.1].
therealkirko commented 2 years ago

Also getting an error on laravel 9 error

Ifriqiya commented 2 years ago

Hi, I'm having the same issue. It appears the package dependencies (monolog, phpdotenv...) need to bumped up to the latest versions or an upper bound needs to be added as a version constraint.

Stancobridge commented 2 years ago

I tweaked the package to work will push to my report soon.. u can check it out

skyusuf15 commented 2 years ago

There SDK doesn't work with laravel, you're very likely to encounter psr-4 autoloading standard error but if you still want to go ahead and install then try "composer require flutterwavedev/flutterwave-v3:*". Hope this helps

LiamKarlMitchell commented 2 years ago

Hey, any plans to update it to work? Is this still being maintained? Cheers.

salvationarinze commented 2 years ago

@LiamKarlMitchell @skyusuf15 @Stancobridge @therealkirko @Ifriqiya This issue has been resolved. We appreciate your patience