Download the PHP package baljinnyamday/xyp-sdk without Composer
On this page you can find all versions of the php package baljinnyamday/xyp-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download baljinnyamday/xyp-sdk
More information about baljinnyamday/xyp-sdk
Files in baljinnyamday/xyp-sdk
Package xyp-sdk
Short Description Typed PHP SDK for XYP (ХУР), Mongolia's government data exchange system
License MIT
Homepage https://github.com/baljinnyamday/xyp-sdk/tree/main/packages/php#readme
Informations about the package xyp-sdk
xyp-sdk
SDKs for XYP (ХУР), Mongolia's government data exchange system, generated from one description of the API so every language exposes the same services.
| Language | Package | Status |
|---|---|---|
| Python | packages/python — pip install "xyp>=0.1.0a2" |
alpha |
| TypeScript / Node.js | packages/typescript — npm install xyp-sdk@alpha |
alpha |
| Go | packages/go — go get github.com/baljinnyamday/xyp-sdk/packages/[email protected] |
alpha |
| PHP | packages/php — composer require baljinnyamday/xyp-sdk:0.1.0-alpha.1 |
alpha |
| Java | packages/java — Maven io.github.baljinnyamday:xyp-sdk:0.1.0-alpha.1 |
alpha |
Unofficial: this project is not affiliated with the National Data Center or E-Mongolia Academy.
How it fits together
- Update the catalog:
uv run spec/fetch_spec.py - Regenerate:
cd generator && uv run xyp-generate - Never edit generated files (Python:
operations/,services/,models/,_groups.py,_operations.py; TypeScript:src/operations/,src/services/,src/types/,src/groups.ts,src/registry.ts; Go:xyp/registry.goand everyxyp/<group>/package; PHP:src/Registry.php,src/ServiceGroups.phpand everysrc/<Group>/directory; Java:src/main/java/module-info.java,Registry.java,XypGroups.javaand everyio/github/baljinnyamday/xyp/<group>/package); change the generator or the spec.
XYP publishes SOAP WSDLs only inside its VPN, and its responses are typed
xs:anyType, so the public portal catalog is the only description of what
services return. That catalog is typed by hand and the generator's
normalize.py documents every irregularity it has to clean up.
The PHP package's composer.json sits at the repository root, because Packagist
only reads packages from there; .gitattributes keeps everything but
packages/php/src and its certificates out of what composer require downloads.
See docs/tls.md for why the SDKs verify TLS against bundled national CA certificates instead of turning verification off.
License
MIT
All versions of xyp-sdk with dependencies
ext-curl Version *
ext-libxml Version *
ext-openssl Version *
ext-xmlreader Version *
psr/log Version ^1.1 || ^2.0 || ^3.0