phplaraveldockercomposer-phpioncube

Laravel update to version 9 but get problem with composer require ext-ioncube-loader


I have a requirement in composer.json: "ext-ioncube-loader": "*"

but when I update the others package, it alert me with error: Problem 1 - Root composer.json requires PHP extension ext-ioncube-loader * but it is missing from your system. Install or enable PHP's ioncube-loader extension.

I use the docker to run this but I dont know how to do.

I try to run composer with --ignore-platform-req=ext-ioncube-loader but it also alert: Script @php ./vendor/bin/testbench package:discover --ansi handling the post-autoload-dump event returned with error code 199


Solution

  • It is because, i used the wrong composer builder (without the ioncube)