Join our Ask A Trainer Sessions and Chat With our Experts!

PHP V3 Library now updated to new OAuth2 endpoints and PKCE support

WCCGoldenApple
Brand Visionary
0 Votes

This is a PHP 8.0 and higher library that fully supports the latest Constant Contact endpoints, as it is automatically generated from the swagger.yaml file.  Changes to the swagger.yaml file are track nightly with any new updates automatically published.

 

You will need to turn on PHP session support for the library to authenticate.  Also make sure you update the composer version constraint as documented in the readme to make sure you get the latest releases as this library uses a date based versioning scheme.

 

You can find the library here https://packagist.org/packages/phpfui/constantcontact

 

Any problems, please open an issue on github.

 

Thanks

2 REPLIES 2
Courtney_E
Moderator
0 Votes

Hello WCCGoldenApple,

 

Thank you for reaching out to Constant Contact API Developer Support.

 

As you may know, the request for official V3 application code samples is still under review, as we're currently still adding endpoints and capabilities to the V3 API, and Constant Contact does not plan to publish any official SDKs or sample apps until that process is complete.

 

In the meantime though, we appreciate you updating and sharing this valuable resource that you have compiled and opted to make available to other developers!


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
ServiceNation
Constant Contact Partner
0 Votes

Are there any SDKs for PHP 5.6 and below that anyone knows about? We do not have the ability to upgrade our PHP at the moment.

Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up