PHPackages                             chocoholics/genius - 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. chocoholics/genius

ActiveLibrary[API Development](/categories/api)

chocoholics/genius
==================

A simple package to fetch data from the Genius API, made for Laravel.

0.0.1(8y ago)0136MITPHPPHP &gt;=5.6.4

Since Dec 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/chocoholics/genius)[ Packagist](https://packagist.org/packages/chocoholics/genius)[ RSS](/packages/chocoholics-genius/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Genius
======

[](#genius)

This package was cloned from Joe Dawson's package which may be found at .

This package was made to fetch data from the Genius API, this is very much still a work in progress. If you plan on relying on this to fetch information from their API using this package, we would recommend **not** using this package for now.

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

[](#installation)

Firstly you'll need to pull this in using Composer.

```
composer require chocoholics/genius

```

After you have successfully installed, add the Service Provider to your config/app.php`

```
Chocoholics\Genius\GeniusServiceProvider::class,
```

And the following facade, also in `config/app.php`

```
'Genius' => Chocoholics\Genius\Facades\Genius::class,
```

Now we'll go ahead and publish the `genius.php` configuration file.

```
php artisan vendor:publish --provider="Chocoholics\Genius\GeniusServiceProvider"

```

Open up the `genius.php`, you will see that you will require an access token. Create one for your API client on Genius and add it to your `env` file.

```
GENIUS_TOKEN=

```

What does this package do?
--------------------------

[](#what-does-this-package-do)

**Currently, you can fetch a single Annotation or Song.**

The following with return a JSON response for the given annotation.

```
$annotation = Genius::annotation(10225840)->get();
```

This is how you would fetch a song, again this will return a JSON response.

```
$song = Genius::song(378195)->get();
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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

Unknown

Total

1

Last Release

3079d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d5d3a23702a1221a0a27a314251e0eac4d030c82a181432c3cafe4ef74a281a?d=identicon)[driftdares](/maintainers/driftdares)

---

Top Contributors

[![joedawson](https://avatars.githubusercontent.com/u/1009696?v=4)](https://github.com/joedawson "joedawson (7 commits)")[![driftdares](https://avatars.githubusercontent.com/u/7968420?v=4)](https://github.com/driftdares "driftdares (2 commits)")

### Embed Badge

![Health badge](/badges/chocoholics-genius/health.svg)

```
[![Health](https://phpackages.com/badges/chocoholics-genius/health.svg)](https://phpackages.com/packages/chocoholics-genius)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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