Forum


Replies: 2   Views: 327
Other means to instantiate a template other than from a path
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by crewscontrol  · 20-12-2023 - 22:33

My templates are stored on AWS S3 with private visibility.  I can copy the file over to a local directory and provide CreateDocxFromTemplate with the local path but I'm trying to avoid copying the file to a local directory.

Is there any way to instantiate the class using the raw contents or from a URL?

Thanks.