I'm getting extremely angry with Composer. I'm getting sick to death of seeing these messaghttps://imgur.com/a/aiF8w when clearly the fucking directory exists. Its clear there is an issue with composer because when I run the poxy command <require_once __DIR__ . 'sendgrid-php/vendor/autoload.php';>
it decides it's doing to be a retarded 5-year-old child.
Anny suggestions as to why this keeps happening?
Thanks
It seems you are missing a / or even in your path where you include the autoload.php .
The __DIR__
value does not contain a trailing slash per PHP docs
Try changing __DIR__
with __DIR__ . DIRECTORY_SEPARATOR
This should takes the into consideration.
@digitalkreativ is correct. You are missing a path separator.
If you read the error that PHP provides you, you can see that it is trying to access a directory named TastefullyObscenesendgrid-php
. This directory does not exist.
Also I have to correct you here, the first commit to this repo dates back to Tue Apr 5 17:36:01 2011 +0200, so that actually makes Composer 6 years old, not 5.
@alcohol I would assume that with software it works the same way as with dog-years, which would make Composer a 6 years old adult, not child. After all, it is a pet-project.
Most helpful comment
@digitalkreativ is correct. You are missing a path separator.
If you read the error that PHP provides you, you can see that it is trying to access a directory named
TastefullyObscenesendgrid-php
. This directory does not exist.Also I have to correct you here, the first commit to this repo dates back to Tue Apr 5 17:36:01 2011 +0200, so that actually makes Composer 6 years old, not 5.