Download the PHP package cadasto/openehr-bmm without Composer
On this page you can find all versions of the php package cadasto/openehr-bmm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package openehr-bmm
openEHR BMM (Cadasto)
Opinionated PHP library implementing the openEHR Basic Meta-Model (BMM). It serves primarily as an intermediate representation (IR) of P_BMM specifications, providing typed PHP objects for schemas, packages, classes, properties, types, and functions.
Features
- Parse openEHR BMM JSON schemas into strongly-typed PHP objects (
BmmSchema,BmmClass,BmmPackage, etc.) - Serialize models back to JSON (
JsonSerializable) - Support for all P_BMM class variants: classes, interfaces, enumerations (string and integer)
- Property types: single, container, generic, and open single properties
- Function definitions with parameters, pre/post-conditions, and result types
- Generic parameter definitions and generic types
- Typed collections with alias support
Installation
Quick start
Development
With Docker
Without Docker
Composer scripts
| Script | Description |
|---|---|
composer test |
Run PHPUnit |
composer test:dox |
PHPUnit with testdox output |
composer test:coverage |
PHPUnit with HTML coverage report |
composer check:lint |
Parallel-lint (syntax) |
composer check:cs |
PHPCS (PSR-12) |
composer check:phpstan |
PHPStan (level 8) |
composer rector |
Run Rector refactoring |
composer ci |
Run all checks (lint, CS, PHPStan, tests) |
Standards
- Style: PSR-12 (PHPCS)
- Static analysis: PHPStan level 8
- Tests: PHPUnit 12
- Refactoring: Rector (local only)
See docs/php-standards.md for standards.
Releases
Tag with SemVer (no v prefix), e.g. git tag 1.0.0 && git push origin 1.0.0. See docs/releases.md.
License
MIT — see LICENSE.
All versions of openehr-bmm with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
ext-json Version *
ext-json Version *
The package cadasto/openehr-bmm contains the following files
Loading the files please wait ...