PHPackages                             sawirricardo/laravel-icd-api - 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. sawirricardo/laravel-icd-api

ActiveLibrary[API Development](/categories/api)

sawirricardo/laravel-icd-api
============================

Use ICD codes in your laravel apps. https://icd.who.int/icdapi/

0.0.5(3y ago)3161[3 PRs](https://github.com/sawirricardo/laravel-icd-api/pulls)MITPHPPHP ^8.0

Since Jun 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sawirricardo/laravel-icd-api)[ Packagist](https://packagist.org/packages/sawirricardo/laravel-icd-api)[ Docs](https://github.com/sawirricardo/laravel-icd-api)[ RSS](/packages/sawirricardo-laravel-icd-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (14)Versions (9)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Use ICD codes in your laravel apps.
=================================================================

[](#use-icd-codes-in-your-laravel-apps-httpsicdwhointicdapi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5c87064b05b979b470213796e0a63f8666df9281457a67a282a30e520b3ee79a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73617769727269636172646f2f6c61726176656c2d6963642d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sawirricardo/laravel-icd-api)[![GitHub Tests Action Status](https://camo.githubusercontent.com/33dd60a5782327216e4cd11bf9f280b7c9a49efba4b181014cc7046df2fb0348/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73617769727269636172646f2f6c61726176656c2d6963642d6170692f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/sawirricardo/laravel-icd-api/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4801748e4721587e7cb1a9d4442c6d0c33ba7accc638db1b801867c98e9aeae9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73617769727269636172646f2f6c61726176656c2d6963642d6170692f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/sawirricardo/laravel-icd-api/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c9639565f18f5d1b34926e46ed32dfd2ffbab94452df693b891fd5dc561da145/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617769727269636172646f2f6c61726176656c2d6963642d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sawirricardo/laravel-icd-api)

Use ICD Codes with your Laravel apps.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/bc56e403317248c4a630becc58b8a7384385aa77c7e18509730d151cda301c0c/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d6963642d6170692e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-icd-api)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require sawirricardo/laravel-icd-api
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-icd-api-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-icd-api-config"
```

This is the contents of the published config file:

```
return [
    'client_id' => env('ICD_API_CLIENT_ID'),
    'client_secret' => env('ICD_API_CLIENT_SECRET'),
];
```

Usage
-----

[](#usage)

```
icdApi()->client()->getAccessTokenData();
icdApi()->client()->icd()->entity();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [sawirricardo](https://github.com/sawirricardo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

1441d ago

PHP version history (2 changes)0.0.1PHP ^8.1

0.0.3PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/23599e5bcea6210e7c2aa6ab912ab4dc501ca63911cc8a99c46a7b4f57a658ad?d=identicon)[ricardosawir](/maintainers/ricardosawir)

---

Top Contributors

[![sawirricardo](https://avatars.githubusercontent.com/u/37329575?v=4)](https://github.com/sawirricardo "sawirricardo (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

laravelsawirricardolaravel-icd-api

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sawirricardo-laravel-icd-api/health.svg)

```
[![Health](https://phpackages.com/badges/sawirricardo-laravel-icd-api/health.svg)](https://phpackages.com/packages/sawirricardo-laravel-icd-api)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
