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

ActiveLibrary[API Development](/categories/api)

aternos/curseforge-api
======================

PHP Client for the CurseForge API.

v3.0.0(1y ago)63.6k↓36.6%3[1 PRs](https://github.com/aternosorg/php-curseforge-api/pulls)MITPHPPHP ^8.3CI passing

Since Apr 27Pushed 5mo ago3 watchersCompare

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

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

Aternos/php-curseforge-api
==========================

[](#aternosphp-curseforge-api)

An API client for the CurseForge API written in PHP. This client is a combination of code generated by OpenAPI Generator using our [openapi spec](./openapi.yaml) 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/curseforge-api
```

Usage
-----

[](#usage)

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

```
