Skip to content

Commit 07b3bcc

Browse files
authored
Merge pull request #259 from Progi1984/issue251
#251 : Documentation for manual install
2 parents 9377970 + 0f4e6cd commit 07b3bcc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/installing.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,20 @@ To install via Composer, add the following lines to your
4242
Manual install
4343
~~~~~~~~~~~~~~
4444

45-
To install manually, `download PHPPresentation package from
46-
github <https://github.com/PHPOffice/PHPPresentation/archive/master.zip>`__.
47-
Extract the package and put the contents to your machine. To use the
48-
library, include ``src/PhpPresentation/Autoloader.php`` in your script and
49-
invoke ``Autoloader::register``.
45+
To install manually, `download PHPOffice\PHPPresentation package from
46+
GitHub <https://github.com/PHPOffice/PHPPresentation/archive/master.zip>`__
47+
and `download PHPOffice\Common package from
48+
GitHub <https://github.com/PHPOffice/Common/archive/master.zip>`__.
49+
Extract the package and put the contents to your machine.
5050

5151
.. code-block:: php
5252
53-
require_once '/path/to/src/PhpPresentation/Autoloader.php';
53+
require_once 'path/to/PhpPresentation/src/PhpPresentation/Autoloader.php';
5454
\PhpOffice\PhpPresentation\Autoloader::register();
5555
56+
require_once 'path/to/PhpOffice/Common/src/Common/Autoloader.php';
57+
\PhpOffice\Common\Autoloader::register();
58+
5659
Using samples
5760
-------------
5861

0 commit comments

Comments
 (0)