Forum


Replies: 2   Views: 4363
Phpdocx and codeigniter
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 Allergoline  · 31-01-2018 - 17:41

Hi. 
We're starting development of a new project, maybe using codeigniter as a base framework.

Before start working on it, there are hints or known problems about installing / using phpdocx with CI?
We own a premium license.

Thank you.

Posted by admin  · 31-01-2018 - 18:46

Hello,

As CodeIgniter 3 doesn't use PHP namespaces, we recommend you to use the classic package (although the namespaces package could be use as well, and it's the recommended package using CodeIgniter 4) and add phpdocx as any other external library:

https://stackoverflow.com/questions/45009712/load-external-library-in-codeigniter

https://forum.codeigniter.com/thread-49644.html

The main CreateDocx.inc class loads the internal autoloader to use the library. You shouldn't find any issue to use phpdocx with CodeIgniter (or any other framework, CMS or custom project).

On https://www.phpdocx.com/documentation/cookbook/integrate-phpdocx-codeigniter you can read the documentation about using phpdocx with CodeIgniter.

Regards.

Posted by Katedf  · 15-04-2018 - 18:10

Deleted by Katedf · 15-04-2018 - 19:09