FAQs
Some frequently asked questions about phpdocx
Technical questions
- ZIP
- XML
- mbstring
- Tidy (not a requirement but needed for HTML conversion)
- GD and exif to add images
- imagick to add SVG contents
If you have trouble running phpdocx we recommend you read the documentation section. You will find there descriptions and examples of all the available phpdocx methods, as well as a tutorial, a practical section with a useful introduction to the library and a Cookbook filled with many tricks and tips to solve common tasks.
You may find a large free online support on the Forum and Contact pages. Licenses include the support detailed on What support includes my license?
If you would like the phpdocx team to take care of specific tasks and custom developments, you can acquire support tickets. Through the ticketing system, our IT team will perform a remote installation for you or prepare the script you need to process your documents.
To convert correctly HTML to DOCX with phpdocx it is mandatory to install the Tidy PHP extension. Tidy automatically solves any issue when importing CSS, UTF8 characters or invalid HTML code.
HTML import works through the embedHTML and replaceVariableByHTML methods. Both are available on all licenses.
DOCX to HTML conversion is done with the TransformDocAdvHTML class, available on the Advanced and Premium licenses.
phpdocx Advanced, Premium and Bureau licenses include the conversion plugin. It allows to transform DOCX files to PDF, as well as other formats such as HTML, DOC, ODT, RTF and so on.
There are four types of conversion plugins: native, libreoffice, msword and openoffice. The LibreOffice plugin is the best choice because of its output quality and performance.
Although some shared hostings allow to install external programs, a VPS or dedicated server is advisable to run the conversion plugin based on LibreOffice.
phpdocx doesn't call to any external server. All documents it generates are private.
phpdocx is a completely safe library. The development of phpdocx uses the most modern tools and technologies for continuous inspection of the code using static analysis to detect and solve bugs and security vulnerabilities.
phpdocx is built around Open Source technologies, so anyone can modify its code as long as it is not redistributed. Nevertheless, you should take into account that modifications of the core that are not "phpdocx Certified" may complicate considerably external technical support.
Trial package is different from the Advanced, Premium and Bureau licenses. To remove the Trial message you have to download a new package after buying a license.
All purchased packages are available for download from MY PHPDOCX.
Advanced, Premium and Bureau licenses have support for PHP namespaces. This facilitates their integration in any modern PHP framework like Symfony, Laravel, Yii and any project that uses Composer.
There are phpdocx packages that doesn't use namespaces for projects that work without them.
Advanced, Premium and Bureau licenses have two packages available for download: classic and namespaces.
Both packages count with the same features, with one exception: namespaces include support for PHP namespaces (http://php.net/manual/en/language.namespaces.php) while classic don't.
What package to choose depends entirely on the project with which phpdocx will be integrated. If the project uses PHP namespaces, as the majority of frameworks and CMS do, the optimal choice is the namespaces one.
Commercial questions
NarceaLabs SL may, at its discretion, issue a refund within thirty (30) days of purchase date or download if there is a technical problem with a functionality fully covered by phpdocx that cannot be resolved within five (5) business days of the customer request.
To receive a refund you must obtain an Affidavit of Software Destruction (ASD) after our Support Team have reviewed your case. To receive an ASD just contact us through our web form. Please provide complete order information with your request.
The completed Affidavit of Software Destruction must be received by NarceaLabs within thirty (30) days after purchase date or download.
You must also destroy all copies of phpdocx from any computers owned or controlled by you where you have installed it. Once you have returned the Affidavit of Software Destruction to us, all licenses you may have to use phpdocx will be immediately cancelled, and any further use of the software will be an infringement of copyrights as well as other intellectual property rights.
Upon receipt of a properly executed Affidavit of Software Destruction via email, we will provide a refund in the next three (3) business days by the same way the purchase was made, less extended transaction charges from PayPal, credit card or bank transfer, which will not be refunded.
NarceaLabs reserves the right to disable any user account, product keys, vouchers and/or serial numbers issued for the refunded products.
After you complete the payment, PayPal will provide you a direct link to phpdocx.com to download a package containing all library files and a license code to validate your copy.
If you have any problem in the buying process, please, email us so we can help you to sucessfully complete it.
You can login and download at any time your package and license from the "My phpdocx" section of this website. Future updates of the library will also be available at this section for download.
Every copy of phpdocx is licensed to run on a single server under a specific domain/IP (based on the package chosen) and, additionally, in localhost and private networks (classes A, B and C).
This flexible licensing policy enable to use phpdocx in almost all environments and always with a dual purpose of running: live and development. For example, development with an Advanced license can be made in your LAN or using a live subdomain of the registered domain like: test.domain.com, sandbox.domain.com...
Upon start the library will check the domain name from which is being ran and it will validate your license.
If you are a licensee you can change the source code to meet your needs but redistribution of the library (source or binary code) is prohibited.
You may not use standard licenses for a SaaS or a PaaS service. Please contact us to know the specific conditions for those particular cases.
-
Changing the name of the subdomain/domain or the IP number of a license can only be made in licenses with a valid LUS1.
The "change fee" for licenses that meet this requirement is 60% of the current price of an equivalent license.
(1) Licenses which cannot buy a LUS (e.g. withdrawn licenses like PRO+) can also access to this option by paying a "change fee" equal to 70% of the current price of the license with the nearest functionality. -
If you misspelled the domain name during the purchasing process your phpdocx copy will not run on your server. In this case you can contact us explaining what happened and giving us the correct URL. We will create a new license key for you.
- PayPal account.
- Debit or credit card, including MasterCard/EuroCard, VISA/Delta/Electron, Discover, American Express and Switch/Maestro.
You may also purchase a license through a bank transfer.
To do so, please contact us, stating your company information (name and address) and VAT number for UE countries. We'll send you a quote with our bank data.
If you can't successfully complete the checkout step after a couple of attempts, please go to PayPal.com. Choose your country and contact your local support center at the bottom of the home page to know the reason of the issue. However, the trouble will be probably linked to some kind of credit card authorization. We suggest you to contact VISA/MasterCard as the best way to find out how to solve it.
If the issue persists or you prefer another payment method, we offer our phpdocx clients to purchase the license through a bank transfer.
To do so, please contact us, stating your company information (name and address) and VAT number for UE countries. We'll send you a quote with our bank data.
Follow these steps to update a license to the latest version:
- Log in and go to MY PHPDOCX.
- You'll go straight to the licenses section. Find the license(s) you want to update.
- Click the “Upgrade to...” button. Choose the package you prefer: Advanced, Premium or Bureau.
- Complete the process and your license will be updated.
- During the process you'll be able to get a LUS (License Update Service) to keep the license updated for a year with a 33% off.
Yes. Even after upgrading, you can use any of them until the new version is on production.