Back to ApiBuilder Support

baberuth22
baberuth22

I'm attempting to install via the admin install button on a Mac running PHP 8, October 3, and laravel valet. The error is:

Root composer.json requires makgabophao/apibuilder-plugin ^1.0, found makgabophao/apibuilder-plugin[dev-master, dev-main] but it does not match the constraint.

Any suggestions? Thank you.

emmanuel.makgabo14416
emmanuel.makgabo14416

Hi, Please replace the requires line with "makgabophao/apibuilder-plugin": "dev-master"

baberuth22
baberuth22

emmanuel.makgabo14416 said:

Hi, Please replace the requires line with "makgabophao/apibuilder-plugin": "dev-master"

How do I do that? I'm installing it with the install button.

Can I download the plugin and modify it?

Is this something you can remedy in the repo with conditional requirements?

Last updated

baberuth22
baberuth22

I added it to my main composer file and I still get the same error.

emmanuel.makgabo14416
emmanuel.makgabo14416

Hi, I've updated the plugin. You should be able to install it now.

baberuth22
baberuth22

Awesome! Here I thought I fixed it by installing via composer ignore dependencies. What version of makgabophao/apibuilder-plugin should be listed in my composer file?

Last updated

emmanuel.makgabo14416
emmanuel.makgabo14416

baberuth22 said:

Awesome! Here I thought I fixed it by installing via composer ignore dependencies. What version of makgabophao/apibuilder-plugin should be listed in my composer file?

You can install through the backend install button. It will add makgabophao/apibuilder-plugin: ^1.0 to your composer.json file.

baberuth22
baberuth22

Perfect. Thanks!

1-8 of 8