PHP Composer, error: Invalid version string

Recently working with PHP Composer on a project that is based on the Laravel framework, I came across the error: Invalid version string. More precisely when performing the attempt to install a Laravel package that allows me to use models with the logical strategy of Eloquent to access MongoDB databases.

The package...