Skip to content

Commit 24d8cc7

Browse files
author
Franz Holzinger
committed
Update installing.rst
Show the way how to install PHPWord using Git.
1 parent 68422ef commit 24d8cc7

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/installing.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,25 @@ To install via Composer, add the following lines to your
4444
Manual install
4545
~~~~~~~~~~~~~~
4646

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
5158
invoke ``Autoloader::register``.
5259

5360
.. code-block:: php
5461
5562
require_once '/path/to/src/PhpWord/Autoloader.php';
5663
\PhpOffice\PhpWord\Autoloader::register();
5764
65+
5866
Using samples
5967
-------------
6068

0 commit comments

Comments
 (0)