Download the PHP package omnilab/hgnc without Composer

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

omnilab/hgnc

HGNC for omnisense/omnilab: a human gene of the HUGO Gene Nomenclature Committee by its HGNC id (HGNC:4827), its approved symbol (HBB), a previous symbol or an alias that one gene alone bears (FAM46C is TENT5C), or an id HGNC records for it (NCBI Gene, Ensembl, UniProt, OMIM) - with its approved name, locus group and type, chromosomal location, previous symbols and names, aliases, gene groups, status and dates, MANE Select transcripts, RefSeq and CCDS ids; its NCBI Gene, Ensembl, UniProt and OMIM ids as cross-references; a search over every field. Through HGNC's REST service, no key.

A gene is named in the core's hgnc scheme (hgnc:4827, displayed HGNC:4827). The Collector walks from HGNC into NCBI Gene, Ensembl, UniProt ($collector->collect('hgnc', 'HBB')), and into HGNC from any of them.

Install and a first call

A real call, with no account and no key: the human HBB gene in HGNC. mailto is your address, sent in the User-Agent so that the service can reach you before it blocks a caller; the source keeps to the limits its policy.json declares.

Its output on 2026-11-13:

Terms of use

HGNC releases all its data under CC0 (genenames.org/about/license) and recommends attribution: Seal R. L. et al., "Genenames.org: the HGNC resources in 2023", Nucleic Acids Res. 2023, 10.1093/nar/gkac888. HGNC asks for 10 calls a second at most: the source waits 0.1 s between two calls.

Usage policy

Declared as data in https://www.genenames.org/help/rest/ on 2026-11-10), and honoured on every request by the core: a limit reached waits when its window ends within max_wait seconds, else the request is not sent (Usage policies).

Responsibility

This package is an independent, unofficial client: it is not affiliated with, endorsed by or sponsored by the HUGO Gene Nomenclature Committee. It reaches their service on behalf of whoever runs it, and it does not redistribute their data beyond the short excerpts recorded as test fixtures. Its MIT licence covers this package's code only and grants no right to the service or to its data.

Whoever installs and runs this package is responsible for complying with the terms above, for obtaining whatever they require (an account, a key, a licence or subscription, an attribution or a citation, a rate limit to respect), and for any use made of what it returns. The authors publish it free of charge, make no commercial use of it, and accept no liability for how it is used (see LICENSE).

License: MIT.


All versions of hgnc with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
omnisense/omnilab Version ^1.0
symfony/http-client Version ^6.4|^7.0|^8.0
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 omnilab/hgnc contains the following files

Loading the files please wait ...