Hi
I think any PHP package nowadays should be published as a composer installable package on packagist. Would you mind doing that?
Another thing that could be improved is to use the @deprecated doc tag for deprecated methods and generally fully document the class for code completion, etc.
Later edit: Actually, there are so many things that can be improved that I decided to write a better wrapper... something like this:
/**
* A better PHP wrapper for PrinceXML
*
* Improvements in comparison to the original wrapper:
* - composer installable
* - PSR-4 compliant
* - no constructor params so automic injection is possible
* - complete block documentation
* - fluent setter interface
*
* Class ServiceWrapper
* @package PrincePHP
* @see http://www.princexml.com
*/
Cheers
Markus
I think any PHP package nowadays should be published as a composer installable package on packagist. Would you mind doing that?
Another thing that could be improved is to use the @deprecated doc tag for deprecated methods and generally fully document the class for code completion, etc.
Later edit: Actually, there are so many things that can be improved that I decided to write a better wrapper... something like this:
/**
* A better PHP wrapper for PrinceXML
*
* Improvements in comparison to the original wrapper:
* - composer installable
* - PSR-4 compliant
* - no constructor params so automic injection is possible
* - complete block documentation
* - fluent setter interface
*
* Class ServiceWrapper
* @package PrincePHP
* @see http://www.princexml.com
*/
Cheers
Markus