PHPackages                             like-a-rocket/hotmart - 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. like-a-rocket/hotmart

ActiveLibrary[API Development](/categories/api)

like-a-rocket/hotmart
=====================

A PHP wrapper for the Hotmart REST API.

v1.0.0(3y ago)18MITPHPPHP ^8.0.0

Since Sep 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/likearocketcompany/hotmart)[ Packagist](https://packagist.org/packages/like-a-rocket/hotmart)[ RSS](/packages/like-a-rocket-hotmart/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Hotmart API - PHP Client
========================

[](#hotmart-api---php-client)

A PHP wrapper for the Hotmart REST API. Easily interact with the Hotmart REST API securely using this library.

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

[](#installation)

```
composer require like-a-rocket/hotmart

```

Getting started
---------------

[](#getting-started)

Generate API credentials (Access Token) following this instructions . Check out the Hotmart API endpoints and data that can be manipulated in .

Client class
------------

[](#client-class)

```
$hotmart = new Client('https://sandbox.hotmart.com', 'wxyz');
```

Client methods
--------------

[](#client-methods)

### GET

[](#get)

```
$hotmart->get($endpoint, $parameters = []);
```

### POST

[](#post)

```
$hotmart->post($endpoint, $parameters = [], $body = []);
```

### PATCH

[](#patch)

```
$hotmart->patch($endpoint, $parameters = [], $body = []);
```

#### Arguments

[](#arguments)

ParamsTypeDescription`endpoint``string`Hotmart API endpoint, example: `/payments/api/v1/subscriptions``parameters``array`Each array index has a query param, example: `status => 'ACTIVE'`#### Response

[](#response)

All methods will return array on success or throwing `Exception` errors on failure.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1393d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/854cd48c2d2937514f18dcc94ad32ff30678429d21d6dd568d87c732a5d00e43?d=identicon)[LikeARocket](/maintainers/LikeARocket)

### Embed Badge

![Health badge](/badges/like-a-rocket-hotmart/health.svg)

```
[![Health](https://phpackages.com/badges/like-a-rocket-hotmart/health.svg)](https://phpackages.com/packages/like-a-rocket-hotmart)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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