PHPackages                             saurabhgayali/uniprot-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. saurabhgayali/uniprot-php

ActiveLibrary[API Development](/categories/api)

saurabhgayali/uniprot-php
=========================

Production-ready PHP library for UniProt REST API with zero dependencies. Includes entry retrieval, advanced search with pagination, and ID mapping.

v1.0.0(3mo ago)10MITPHPPHP &gt;=7.4

Since Jan 19Pushed 3mo agoCompare

[ Source](https://github.com/saurabhgayali/UniprotPHPClass)[ Packagist](https://packagist.org/packages/saurabhgayali/uniprot-php)[ Docs](https://github.com/saurabhgayali/UniprotPHPClass)[ RSS](/packages/saurabhgayali-uniprot-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

UniProt PHP Library
===================

[](#uniprot-php-library)

A production-ready PHP library for programmatic access to the UniProt REST API.

**Status:** Complete, tested, ready for production use.

**License:** [MIT](LICENSE.md) - See [LICENSE.md](LICENSE.md) for full terms.

Features
--------

[](#features)

- ✅ **Single Entry Retrieval** - Fetch individual protein entries by accession
- ✅ **Advanced Search** - Complex queries with full pagination support
- ✅ **ID Mapping** - Map identifiers between databases with async job model
- ✅ **Dual Transport** - Automatic fallback from cURL to PHP streams
- ✅ **No Dependencies** - Pure PHP, no external packages required
- ✅ **PHP 7.4+** - Works on shared hosting
- ✅ **Strict Types** - Full type hints throughout
- ✅ **Comprehensive Errors** - Detailed exception information
- ✅ **Fully Documented** - Complete API documentation and examples

Quick Start
-----------

[](#quick-start)

```
