File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,25 @@ To install via Composer, add the following lines to your
44
44
Manual install
45
45
~~~~~~~~~~~~~~
46
46
47
- To install manually, `download PHPWord package from
48
- github <https://github.com/PHPOffice/PHPWord/archive/master.zip> `__.
49
- Extract the package and put the contents to your machine. To use the
50
- library, include ``src/PhpWord/Autoloader.php `` in your script and
47
+ To install manually, you change to the webserver directory of your file system .
48
+ Then you have 2 possibilities.
49
+
50
+ 1. `download PHPWord package from github <https://github.com/PHPOffice/PHPWord/archive/master.zip >`__.
51
+ Extract the package and put the contents to your machine.
52
+ 2. Alternatively you can use Git to install it:
53
+ .. code-block :: console
54
+
55
+ git clone https://github.com/PHPOffice/PHPWord.git
56
+
57
+ To use the library, include ``src/PhpWord/Autoloader.php `` in your PHP script and
51
58
invoke ``Autoloader::register ``.
52
59
53
60
.. code-block :: php
54
61
55
62
require_once '/path/to/src/PhpWord/Autoloader.php';
56
63
\PhpOffice\PhpWord\Autoloader::register();
57
64
65
+
58
66
Using samples
59
67
-------------
60
68
You can’t perform that action at this time.
0 commit comments