-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Namespacing #77
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
Comments
I will opt for the second. That would be more general in the PHPOffice project. What do you think about that ? |
It's perfect. |
@gabrielbull, how about having "PhpWord" instead of "PHPWord"? It's more readable. Moreover, Zend Framework uses this style. |
I totally agree with you. What do you think @Progi1984 ? So this would be the namespace |
I valid ;) |
@gabrielbull Can I close this issue ? |
Sure. Issue #58 is the task to integrate namespacing. |
Should the namespacing be done like this:
which will result in using the lib like this:
new PHPWord\PHPWord();
OR
which will result in using the lib like this:
new PHPOffice\PHPWord\PHPWord();
Both of which are PSR-0 and PSR-4 compliant.
The text was updated successfully, but these errors were encountered: