We are having issue getting MailMerge (Not Mustache) templates merged successfully using the Laravel Package. We are able to merge mustache templates successfully with no issues.
Is there any certain functions with special parameters in this package we should use?
We have already tried to use the PHP Library that you are referring to but we find that it’s not supporting PHP 7.1 as a result of the used dependency. Attached the issues we are getting when we try to install it via composer. image.png (11.6 KB)
What do you suggest, should we try to consume the API directly instead? Could you provide an example of how the request should be sent for “executeMailMerge” API ?
We have already tried to use the PHP Library that you are referring to but we find that it’s not supporting PHP 7.1 as a result of the used dependency. Attached the issues we are getting when we try to install it via composer.
We have logged a request (WORDSCLOUD-387) for our Development team to look into this issue and fix it. We will update you here as soon as the issue is fixed.
What do you suggest, should we try to consume the API directly instead? Could you provide an example of how the request should be sent for “executeMailMerge” API?
We recommend our users to use SDKs as they take care of a lot of low-level details of making requests and handling responses. But to help you understand the complete API process, I have written the following cURL example:
We are pleased to inform you that the issue has been fixed, please download the latest version (18.2) of words-sdk-php package from aspose-cloud/aspose-words-cloud - Packagist.
The SDK should work with PHP up to 7.2.3 (which is the latest).
@sohail.aspose Thanks for handling this in short period. But it seems that the latest commits to the repository is not tagged where the current version have the host as localhost and it require to be set manually when we define the config.
But it seems that the latest commits to the repository is not tagged where the current version have the host as localhost and it require to be set manually when we define the config.
The issue has been fixed regarding setting host to an appropriate value. Please test the SDK and let us know your feedback.