Installation
- Version 4.x
- Version 3.x
- Version 2.x
The Jaxon library is distributed as Composer
packages.
To install Jaxon, add the following line in the composer.json
file.
"require": {
"jaxon-php/jaxon-core": "~2.0"
}
Or run the command
composer require jaxon-php/jaxon-core:~2.0
The javascript library
Jaxon requires the jaxon-js javascript library to be loaded into the HTML page to operate properly.
By default, the javascript library files are loaded from the jsDelivr CDN.
They are also installed on their own CDN, powered by KeyCDN, which supports the http
and https
protocols.
The Jaxon CDN is used by setting the configuration option js.lib.uri
to https://cdn.jaxon-php.org/libs/jaxon/1.2.0/
.
The currently available versions are 1.0.0
and 1.2.0
.
It is also possible to install the library on a private server, in which case the js.lib.uri
configuration option must be set accordingly.