Repository navigation
v1.1.0
PHP 8.x compatibility, bug fixes, integration tests, and documentation.
Bug fixes
compress()was broken. An undefined variable meant the method silently did nothing on every call. Fixed.dcmcjpeganddcmdjpegbinary paths were swapped. Compress was calling the decompressor and vice versa. Fixed in both the Windows and Linux path blocks.- PHP 8.2 dynamic property deprecations. Added missing
$templateand$temp_dirproperty declarations ondicom_convert.
Compatibility
- Now requires PHP 8.0+ (declared in
composer.json). Tested through PHP 8.4. - No breaking API changes from v1.0.0.
Testing
- New integration test suite (
tests/) using pydicom and pynetdicom for independent cross-validation. Every conversion, tag operation, and network call is verified by a completely separate DICOM implementation — not just read back by the same tools that wrote it.
Documentation
- Full
README.mdwith usage examples verified against live PHP, API reference, and testing instructions. ROADMAP.mdoutlining v2.0.0 (modern PHP refactor) and feature expansion plans.
Known issues
jpg_to_dcm()does not work on current DCMTK versions due to warning-handling logic that prevents pixel data embedding. Tracked for v2.0.0.