File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
### Features
6
6
- PowerPoint97 Reader : Implement Basic Reader - @Progi1984 GH-15 GH-14 GH-4
7
7
- ODPresentation Writer : Ability to set auto shrink text - @Progi1984 GH-28
8
+ - Make package PSR-4 compliant. Autoload classes by composer out of the box - @Djuki GH-41
8
9
9
10
### Bugfix
10
11
- PowerPoint2007 Writer : Powerpoint Repair Error in Office 2010 - @Progi1984 GH-39
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ the following lines to your ``composer.json``.
59
59
```
60
60
61
61
Alternatively, you can download the latest release from the [ releases page] ( https://github.com/PHPOffice/PHPPowerPoint/releases ) .
62
- In this case, you will have to register the autoloader.
62
+ In this case, you will have to register the autoloader. Register autoloading is required only if you do not use composer in your project.
63
63
64
64
``` php
65
65
require_once 'path/to/PhpPowerpoint/src/PhpPowerpoint/Autoloader.php';
Original file line number Diff line number Diff line change 38
38
"autoload" : {
39
39
"psr-0" : {
40
40
"PHPPowerPoint" : " src/"
41
+ },
42
+ "psr-4" : {
43
+ "PhpOffice\\ PhpPowerpoint\\ " : " src/PhpPowerpoint/"
41
44
}
42
45
}
43
46
}
You can’t perform that action at this time.
0 commit comments