codenomdev / codeigniter4-midtrans

Midtrans Integration with CodeIgniter 4
https://codenom.com
MIT License
15 stars 10 forks source link

Installation failed #23

Open gerrnp opened 2 years ago

gerrnp commented 2 years ago

[InvalidArgumentException] Could not find a version of package codenom/midtrans matching your minimum-stability (stable). Require it with an e xplicit version constraint allowing its desired stability.

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

gerrnp commented 2 years ago

change composer.json "require": { "php": "^7.3 || ^8.0", "codeigniter4/framework": "^4", "jason-napolitano/codeigniter4-cart-module": "^1.1", "laminas/laminas-json": "~3.2", "codenom/midtrans":"dev-master" }

jalankan ini di terminal composer update --ignore-platform-reqs