php-http-client is at 3.13.0 version currently and as is a different project with it's own versioning I think the next is confusing:
which implies a direct relation with the current library.
I think a better solution is to create a sub-namespace like:
use SendGrid\Http\Client;
that makes psr4 autoloading much easier as now you can point the package loader to any folder you like and put there the project's files:
http-client
|_ Exception
| |_ InvalidRequest.php
|_ Client.php
|_ Response.php
I experiment this now in a sub-folder using my own autoloading function.
php-http-client is at 3.13.0 version currently and as is a different project with it's own versioning I think the next is confusing:
which implies a direct relation with the current library.
I think a better solution is to create a sub-namespace like:
that makes psr4 autoloading much easier as now you can point the package loader to any folder you like and put there the project's files:
I experiment this now in a sub-folder using my own autoloading function.