Reputation: 123
I have added sendgrid and changed composer.json file in heroku. composer.json file contains
{
"require": {
"ext-mbstring": "*",
"sendgrid/sendgrid": "2.0.5"
}
}
on commit the file
When I push into heroku I wiil occurs error as shown in below image
Upvotes: 4
Views: 3477
Reputation: 625
I have that problem too but i don't want to change my local php environment configuration, so i need to use composer update --ignore-platform-reqs
. Otherwise i would need to have same extensions locally as the ones i have in remote heroku.
Upvotes: 1
Reputation: 123
After installed composer and restart the computer I have used the composer update
command and then it works fine and error solved
Upvotes: 0