File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ Read more about PHPPresentation:
19
19
- [ Requirements] ( #requirements )
20
20
- [ Installation] ( #installation )
21
21
- [ Getting started] ( #getting-started )
22
- - [ Known issues] ( #known-issues )
23
22
- [ Contributing] ( #contributing )
24
23
- [ Developers' Documentation] ( http://phppowerpoint.readthedocs.org/ )
25
24
- [ API Documentation] ( http://phpoffice.github.io/PHPPresentation/docs/master/ )
@@ -73,9 +72,18 @@ require_once 'path/to/PhpPresentation/src/PhpPresentation/Autoloader.php';
73
72
The following is a basic usage example of the PHPPresentation library.
74
73
75
74
``` php
75
+ // with your own install
76
76
require_once 'src/PhpPresentation/Autoloader.php';
77
77
\PhpOffice\PhpPresentation\Autoloader::register();
78
78
79
+ // with Composer
80
+ require_once 'vendor/autoload.php';
81
+
82
+ use PhpOffice\PhpPresentation\PhpPowerpoint;
83
+ use PhpOffice\PhpPresentation\IOFactory;
84
+ use PhpOffice\PhpPresentation\Style\Color;
85
+ use PhpOffice\PhpPresentation\Style\Alignment;
86
+
79
87
$objPHPPowerPoint = new PhpPresentation();
80
88
81
89
// Create slide
You can’t perform that action at this time.
0 commit comments