This repository provides a sample SugarCRM add-on that demonstrates how to implement license validation by integrating with the SugarCRM Marketplace API. It includes a PHP library that leverages Sugar's ExternalResourceClient for making HTTP requests.
- Sample implementation of license validation logic
- Integration with the SugarCRM Marketplace API
- Usage of
ExternalResourceClientfor simplified HTTP communication
- Sugar 13.0 or higher
- PHP 7.4 or higher
- Access to the SugarCRM Marketplace
- Clone this repository into your SugarCRM instance's custom module directory.
- Follow the provided code to integrate license validation in your own add-ons.
- Update the API credentials and endpoint URLs as required.
For more information on selling add-ons and using licensing in the SugarCRM Marketplace, refer to the Marketplace Licensing Guide.
Contributions and improvements are welcome. Please submit a pull request or open an issue for feedback or suggestions.
This project is provided as a sample and is not intended for production use without proper testing and validation.