Closed ajacquelin closed 9 years ago
This was fixed by https://github.com/tmeliberty/microrest.php/commit/575ed22147783218796fdbb1431a3b227c60b049 but was not merged. So you need to override the dependency to this repo.
The solution is https://getcomposer.org/doc/articles/aliases.md#require-inline-alias. Use the composer.json below:
{ "require": { "marmelab/microrest": "~1.0@dev", "alecsammon/php-raml-parser": "dev-master as 1.0.0.x-dev" }, "repositories": [ { "type": "git", "url": "https://github.com/tmeliberty/microrest.php.git" } ] }
@tmeliberty Can you open a pull request please ?
Fixed by 7034582
Hello, I'm trying to install microrest with composer and I get an error. command: composer require marmelab/microrest "~1.0@dev"
the error: Problem 1
Do you know how can I fix it ? I'm not familiar with composer so any help will be very much appreciated.
Cheers,