Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make package psr-4 compliant. Classes autoload with composers autoloader #41

Merged
merged 2 commits into from
Aug 4, 2014

Conversation

Djuki
Copy link
Contributor

@Djuki Djuki commented Aug 4, 2014

This change will make this package to be able to use composers autoloader. When you use composer this package will be autoloaded out of the box.

This is legacy change, and we still can use package autoloader when composer is not included in project.

With composer this is not needed anymore:

require_once 'path/to/PhpPowerpoint/src/PhpPowerpoint/Autoloader.php';
\PhpOffice\PhpPowerpoint\Autoloader::register();

@Djuki Djuki changed the title Develop Make package psr-4 compliant. Classes autoload with composers autoloader Aug 4, 2014
@Progi1984 Progi1984 self-assigned this Aug 4, 2014
@Progi1984 Progi1984 added this to the 0.3.0 milestone Aug 4, 2014
@Progi1984
Copy link
Member

Perfect PR ;)

Progi1984 added a commit that referenced this pull request Aug 4, 2014
Make package psr-4 compliant. Classes autoload with composers autoloader
@Progi1984 Progi1984 merged commit 2274275 into PHPOffice:develop Aug 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants