PHPackages                             aternos/modrinth-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. aternos/modrinth-api

ActiveLibrary[API Development](/categories/api)

aternos/modrinth-api
====================

PHP Client for the Modrinth API. This client is based on the openapi spec.

v3.2.1(3mo ago)13.5k↓36.6%2MITPHPPHP ^8.3CI passing

Since Jun 27Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/aternosorg/php-modrinth-api)[ Packagist](https://packagist.org/packages/aternos/modrinth-api)[ Docs](https://github.com/aternosorg/php-modrinth-api)[ RSS](/packages/aternos-modrinth-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

Aternos/php-modrinth-api
========================

[](#aternosphp-modrinth-api)

An API client for the Modrinth API written in PHP. This client is a combination of code generated by OpenAPI Generator and some wrappers around it to improve the usability.

The generated code can be found in `lib/Api` and `lib/Model`. It is recommended to use the Wrappers in `lib/Client` instead of the generated code.

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

[](#installation)

Install the package via composer:

```
composer require aternos/modrinth-api
```

Usage
-----

[](#usage)

The main entry point for the API is the `ModrinthAPIClient` class.

```
