Download the PHP package romeldev/php-fhir-r5 without Composer

On this page you can find all versions of the php package romeldev/php-fhir-r5. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-fhir-r5

romeldev/php-fhir-r5

HL7 FHIR R5 PHP library, compatible with PHP 7.4+.

This package is a downgraded build of dcarbone/php-fhir (which targets PHP 8.1+), produced with Rector so it can be consumed by legacy applications — typically Laravel projects still on PHP 7.4.

It provides fully-typed PHP models for every FHIR R5 resource and data type, JSON & XML (de)serialization, validation rules, and a ready-to-use FHIR REST client.


Requirements


Installation


Usage

All classes live under the Romeldev\Fhir namespace. FHIR types for the R5 version are nested under Romeldev\Fhir\Versions\R5\Types.

Parse a FHIR JSON resource

Serialize a resource back to JSON

Parse FHIR XML

Use the REST client


Namespace layout


Compatibility notes

Running the test suite


Upstream & attribution

All generation logic, schemas and the original library architecture belong to Daniel Carbone and the dcarbone/php-fhir project. This package only:

  1. Generates under a different PHP namespace (Romeldev\Fhir instead of DCarbone\PHPFHIRGenerated).
  2. Transpiles the output down to PHP 7.4 with Rector.

If you can run PHP 8.1+, prefer the upstream dcarbone/php-fhir-generated directly.


License

Apache License 2.0 — same as upstream. See LICENSE.


All versions of php-fhir-r5 with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-ctype Version *
ext-curl Version *
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-simplexml Version *
ext-xmlreader Version *
ext-xmlwriter Version *
psr/log Version ^1.1 || ^2.0 || ^3.0
composer/semver Version ^3.4
symfony/polyfill-php80 Version ^1.27
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package romeldev/php-fhir-r5 contains the following files

Loading the files please wait ...