Not working with composer
Closed this issue · 4 comments
splicebison commented
Fatal error: Class 'Instagram\Instagram' not found...
Composer's autoload_namespaces is generating:
'Instagram' => $vendorDir . '/php-instagram-api/php-instagram-api/Instagram',
and should instead read:
'Instagram' => $vendorDir . '/php-instagram-api/php-instagram-api/.',
oskarhane commented
I got another error when trying to use it with composer, thats probably related.
Fatal error: Class 'Instagram\Core\BaseObjectAbstract' not found in [...]/vendor/php-instagram-api/php-instagram-api/Instagram/Instagram.php on line 27
galen commented
I havent actually used it with composer yet. Ill look into this.
splicebison commented
pdaether commented
I can confirm this issue.
The solution from @fishmarket should solve it.