Forum


Replies: 9   Views: 1568
How to use the streammode?
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 admin  · 03-04-2021 - 10:57

Hello,

phpdocx doesn't use/include StreamedResponse an other similar dependencies for many reasons: the library is compatible with all PHP versions from PHP 5.2.11, many CMS and frameworks don't use it but their own classes/methods to work with streams (WordPress, CodeIgniter...), it's a not needed library as phpdocx generates stream in a generic way that doesn't required using that component, there's a classic package that doesn't use PHP namespaces and other reasons. It doesn't make sense to add an external dependency such as StreamedResponse to the library.

Regards.