PHPackages                             atomescrochus/laravel-deezer-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. atomescrochus/laravel-deezer-api

AbandonedArchivedLibrary[API Development](/categories/api)

atomescrochus/laravel-deezer-api
================================

An easy way to interact with the Deezer API from any Laravel &gt;= 5.3 application.

1.5.1(8y ago)51051MITPHPPHP ~7.0

Since Jan 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/atomescrochus/laravel-deezer-api)[ Packagist](https://packagist.org/packages/atomescrochus/laravel-deezer-api)[ Docs](https://github.com/atomescrochus/laravel-deezer-api)[ RSS](/packages/atomescrochus-laravel-deezer-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (13)Used By (0)

Search the Deezer Web API
=========================

[](#search-the-deezer-web-api)

[![Latest Stable Version](https://camo.githubusercontent.com/5185cb1698625d08687e653a10bbc21347edb32b0ba47b62ad31d0871a0612df/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d657363726f636875732f6c61726176656c2d6465657a65722d6170692f762f737461626c65)](https://packagist.org/packages/atomescrochus/laravel-deezer-api)[![License](https://camo.githubusercontent.com/e792b23256b2f231c1323bd6918f77a9ef35329ec85cb8c0b41780daba508f08/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d657363726f636875732f6c61726176656c2d6465657a65722d6170692f6c6963656e7365)](https://packagist.org/packages/atomescrochus/laravel-deezer-api)[![Total Downloads](https://camo.githubusercontent.com/2b253a16c4c258121c46cee138ec68da389424630ce2560530b0e6abe04917fc/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d657363726f636875732f6c61726176656c2d6465657a65722d6170692f646f776e6c6f616473)](https://packagist.org/packages/atomescrochus/laravel-deezer-api)

The `atomescrochus/laravel-deezer-api` package provide and easy way to search the Deezer Web API from any Laravel &gt;= 5.3 application.

This package is usable in production, but should still be considered a work in progress (contribution welcomed!). It requires PHP &gt;= `7.0`.

Install
-------

[](#install)

You can install this package via composer:

```
$ composer require atomescrochus/laravel-deezer-api
```

Then you have to install the package' service provider, *unless you are running Laravel &gt;=5.5* (it'll use package auto-discovery) :

```
// config/app.php
'providers' => [
    ...
    Atomescrochus\Deezer\DeezerApiServiceProvider::class,
];
```

Usage
-----

[](#usage)

```
// here is an example query to search Deezer's API
$deezer = new \Atomescrochus\Deezer\Deezer();

// You can execute a basic search, and hope for the best
$results = $deezer->basicSearch("yolo");

// If you already have a Deezer ID, you can do thise to get the track
$results = $deezer->getTrackById(18042083); //

// But you can also execute more complex search
$results = $deezer->artist() // string
        ->album() // string
        ->track() // string
        ->label() // string
        ->minimumDuration() // int
        ->maximumDuration() // int
        ->minimumBPM() // int
        ->maximumBPM() // int
        ->search();

// These are the options you can set with every kind of call
$deezer->cache(120) // an integer (number of minutes), for the cache to expire, can be 0

// Theses are options compatible with basicSearch() and complexe searches
$deezer->strictMode() // deactivate fuzzy searching on Deezer's side
$deezer->type('track') // defaults to track if not set.
// see http://developers.deezer.com/api/search#connections for possible search types
$deezer->order('ranking') // defaults to ranking if not set. Use lower case!
// see http://developers.deezer.com/api/search#infos for possible order
```

### Results

[](#results)

In the example above, what is returned in `$results` is an object containing: a collection of results; a count value for the results; raw response data; and the unformatted query sent to the API.

Tests
-----

[](#tests)

This is basically a wrapper around the API. We're assuming the Deezer API has been tested, and we won't duplicated tests.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jean-Philippe Murray](https://github.com/jpmurray)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

Every ~27 days

Recently: every ~67 days

Total

11

Last Release

3136d ago

Major Versions

0.1.0 → 1.0.02017-01-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1550428?v=4)[Jean-Philippe Murray](/maintainers/jpmurray)[@jpmurray](https://github.com/jpmurray)

---

Top Contributors

[![jpmurray](https://avatars.githubusercontent.com/u/1550428?v=4)](https://github.com/jpmurray "jpmurray (54 commits)")

---

Tags

deezer-apilaravellaravel-5-packagelaravel-packagemusicDeezeratomescrochuslaravel-deezer-api

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/atomescrochus-laravel-deezer-api/health.svg)

```
[![Health](https://phpackages.com/badges/atomescrochus-laravel-deezer-api/health.svg)](https://phpackages.com/packages/atomescrochus-laravel-deezer-api)
```

###  Alternatives

[aerni/laravel-spotify

A Laravel wrapper for the Spotify Web API

209145.6k](/packages/aerni-laravel-spotify)[dariusiii/php-itunes-api

Query iTunes API System

1116.9k](/packages/dariusiii-php-itunes-api)

PHPackages © 2026

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