G
G
Garguly Magnievich2020-06-28 20:34:25
PHP
Garguly Magnievich, 2020-06-28 20:34:25

How to install PhpWord on a site hosted on shared hosting (without Composer)?

The task arose: to implement on a ready-made site created on the basis of a CMS with a pre-installed CCK (Joomla + Seblod, PHP version 7.3.1. SpaceWeb hosting), the generation of a contract for the provision of services in docx-format. The site is running on shared hosting. As far as I can tell from the frequency, the most popular solution is phpWord. In the examples found, the library is installed through a certain Composer on the LAN. And how to install it on an existing site hosted on shared hosting? Thanks in advance!
PS Also other solutions besides phpWord are interesting, maybe there is something more suitable in my case? For example https://habr.com/ru/post/138666/ - but the material is a bit old, is it worth going deep and trying this solution, maybe it's not relevant.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2020-06-28
@chuanyurug

If it is not possible to install the composer on the hosting locally (download the phar archive of the composer to the project) or globally, then you will have to Install it on the localhost where the composer is and upload the project to the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question