PHPackages                             christophrumpel/marvel-superhero-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. christophrumpel/marvel-superhero-api

ActiveLibrary

christophrumpel/marvel-superhero-api
====================================

This is a PHP package for working with the Marvel developer API.

0.0.4(10y ago)024MITPHPPHP &gt;=5.3.0

Since May 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/christophrumpel/marvel-superhero-api)[ Packagist](https://packagist.org/packages/christophrumpel/marvel-superhero-api)[ Docs](https://github.com/christophrumpel/marvel-superhero-api)[ RSS](/packages/christophrumpel-marvel-superhero-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

[![Latest Version](https://camo.githubusercontent.com/d743be7cf4bbd844512c8e30e5681295aa1e18cca6b4b972e18525a7f401e33b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f6d617276656c2d73757065726865726f2d6170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/christophrumpel/marvel-superhero-api/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Marvel Superhero API
====================

[](#marvel-superhero-api)

This is a helper package for working with the [Marvel developer API](https://developer.marvel.com/).

Examples
========

[](#examples)

```
// Get an Marvel account and your keys here https://developer.marvel.com/
$publicKey = "your_public_key";
$privateKey = "your_private_key";

$api = new MarvelUniverse\SuperheroApi($publicKey, $privateKey);

// Get all characters
$characters = $api->characters()->getAll(['nameStartsWith' => 'Y']);

// Get 3-D Man
$threedman = $api->characters()->getById(1011334);

// Get comics from 3-D Man
$comics = $api->characters()->getComics(1011334, ['format' => 'comic']);

// Get events from 3-D Man
$events = $api->characters()->getEvents(1011334);

// Get series from 3-D Man
$series = $api->characters()->getSeries(1011334);

// Get stories from 3-D Man
$stories = $api->characters()->getStories(1011334);

// For more examples checkout the example.php file
```

Covered
=======

[](#covered)

- All character calls
- All comic calls

Roadmap
=======

[](#roadmap)

More to come:

- Creators calls
- Events calls
- Series calls
- Stories calls

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

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

Every ~5 days

Total

4

Last Release

4011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f28b771a37a269a91595451004ddb985e9469795957868e0ff3626e9a6c43533?d=identicon)[christophrumpel](/maintainers/christophrumpel)

---

Tags

christophrumpelmarvel-superheeor-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/christophrumpel-marvel-superhero-api/health.svg)

```
[![Health](https://phpackages.com/badges/christophrumpel-marvel-superhero-api/health.svg)](https://phpackages.com/packages/christophrumpel-marvel-superhero-api)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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