*
caoyili...@gmail.com <
caoyili...@gmail.com> [2017-10-16 13:23]:
> When I add a third-party registration module, what is the version number of
> the composer.phar require vendor / simplesamlphp-module-mymodule version? I
> added this way
> php composer.phar require geant / simplesamlphp-module-selfregister 1.14
This seems to be more of a composer question than one about
SimpleSAMLphp, esp since you're trying to use a third-party module not
created by the SSP project.
Anyway: Seems there are no tags on the specific project you're trying
to use
https://github.com/GEANT/simplesamlphp-module-selfregister so
AFAIU you can't require a specific version (as none exist).
You could try to require version "dev-master" instead, but note that
this is frowned upon:
https://getcomposer.org/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md
If you do that be sure to track the composer.lock file so that you can
have repeatable installs/builds/deploys, that will then probably
contain the specific commit SHA1 hash at the time of checkout.
(Note that's without taking into account the error message you got,
which I don't know anything about. So while I think the above is true
it may still not fix your current error.)
-peter