PHPackages                             aurabx/jmix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. aurabx/jmix

ActiveLibrary[Security](/categories/security)

aurabx/jmix
===========

PHP library for JMIX (JSON Medical Interchange) format - secure medical data exchange with cryptographic features

0.4.1(7mo ago)00MITPHPPHP ^8.2

Since Oct 4Pushed 7mo agoCompare

[ Source](https://github.com/aurabx/jmix-php)[ Packagist](https://packagist.org/packages/aurabx/jmix)[ RSS](/packages/aurabx-jmix/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (2)Used By (0)

JMIX PHP Library
================

[](#jmix-php-library)

A PHP library for creating and processing JMIX (JSON Medical Interchange) envelopes from DICOM files. JMIX is a secure data format for exchanging medical/healthcare information with strong cryptographic features including AES-256-GCM encryption.

Features
--------

[](#features)

- **Convert DICOM folders to complete JMIX envelopes**
- **Automatic metadata extraction from DICOM files**
- **JSON Schema validation for all components**
- **Simple, array-based configuration**
- **AES-256-GCM payload encryption** with ECDH key exchange (Curve25519)
- **Payload decryption and envelope extraction**
- **SHA-256 payload hash verification** for data integrity
- **Built-in audit trail generation**
- **CLI tools** for building, analyzing, and decrypting envelopes
- **Ephemeral keys** for forward secrecy

Requirements
------------

[](#requirements)

In order to extract file information to build the files list, DCMTK is required. Without this, the library will not extract DICOM data.

```
# Install DCMTK on macOS
brew install dcmtk

# Install DCMTK on Ubuntu
apt-get install dcmtk
```

The library will automatically use `dcmdump` if available.

Installation
------------

[](#installation)

```
composer require aurabx/jmix
```

Quick Start
-----------

[](#quick-start)

```
