Download the PHP package dcarbone/php-fhir without Composer

On this page you can find all versions of the php package dcarbone/php-fhir. 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

php-fhir

Tools for generating PHP classes from the HL7 FHIR specification.

php-fhir reads the official FHIR XSD schema files and produces a fully-typed PHP library — complete with models for every FHIR type, JSON & XML (de)serialization, validation, and a ready-to-use FHIR REST client.


🚀 Just Want the Generated Code?

If you don't need to customise the generation process and just want usable FHIR models in your PHP project, grab the pre-built package:

➡️ dcarbone/php-fhir-generated


📖 Documentation

Full documentation is maintained on the project wiki:

Page Description
Getting Started Prerequisites, installation, and downloading FHIR schemas
CLI Usage Running the generator from the command line
Configuration Reference All Config and VersionConfig options
Architecture How the generator pipeline works internally
Generated Code Understanding the output: namespaces, types, client, encoding
Testing Running tests on the generator and on generated code
Contributing Developer workflow and code-style notes

Support Matrix

PHPFHIR Version PHP Versions FHIR Versions Supported
v4 >= 8.1 DSTU1, DSTU2, STU3, R4, R4B, R5, R6 (pre-release) Yes
v3 >= 8.1, < 8.5 DSTU1, DSTU2, STU3, R4, R4B, R5 No
v2 5.4–7.4 DSTU1, DSTU2, STU3, R4 No

Requirements


Quick Start

1. Install

2. Download FHIR Schemas

3. Generate

Option A — PHP script:

Option B — CLI (standalone checkout only):

See the CLI Usage and Configuration Reference wiki pages for full details.


Links

Source https://github.com/dcarbone/php-fhir
Pre-generated code https://github.com/dcarbone/php-fhir-generated
Wiki / Docs https://github.com/dcarbone/php-fhir/wiki
HL7 FHIR https://hl7.org/fhir/

License

Apache License 2.0


All versions of php-fhir with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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 ^3.0
composer/semver Version ^3.4
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 dcarbone/php-fhir contains the following files

Loading the files please wait ...