PHPackages                             stekel/kodi - 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. stekel/kodi

ActiveLibrary[API Development](/categories/api)

stekel/kodi
===========

Library for interacting with a kodi instance

v0.1.3(8y ago)0118MITPHPPHP ~5.6|~7.0

Since Feb 20Pushed 4y agoCompare

[ Source](https://github.com/stekel/kodi)[ Packagist](https://packagist.org/packages/stekel/kodi)[ Docs](https://github.com/stekel/kodi)[ RSS](/packages/stekel-kodi/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

Kodi
====

[](#kodi)

This package provides a simple api for interacting with a running Kodi instance using the Kodi jsonrpc api.

Install
-------

[](#install)

Via Composer

```
$ composer require stekel/kodi
```

Usage
-----

[](#usage)

### Laravel

[](#laravel)

```
use Kodi;

Kodi::player()->playPause(); // Play/Pause the currently playing media
```

### Manual

[](#manual)

```
use stekel\Kodi\Kodi

$kodi = Kodi::connect('192.168.1.100', '8080', 'xbmc', 'xbmc');

$kodi->player()->playPause(); // Play/Pause the currently playing media
```

Supported Functions
-------------------

[](#supported-functions)

### Add-ons

[](#add-ons)

FunctionExecutionAddons.GetAddons`$kodi->addons()->getAddons();`Addons.ExecuteAddon : script.playrandomvideos`$kodi->addons()->playRandom($model)`
$model can be a `TvShow` or `Song`### Gui

[](#gui)

FunctionExecutionGUI.ShowNotification`$kodi->gui()->showNotification($title, $message);`### Player

[](#player)

FunctionExecutionPlayer.GetActivePlayers`$kodi->player()->getActivePlayers();`Player.Open`$kodi->player()->open($model);`
$model can be an `Episode` or `Song`Player.PlayPause`$kodi->player()->playPause();`Player.Stop`$kodi->player()->stop();`Player.GetItem`$kodi->player()->getItem();`
Returns either an `Episode` or `Song`### Video Library

[](#video-library)

FunctionExecutionVideoLibrary.GetTVShows`$kodi->videoLibrary()->getTvShows();`VideoLibrary.GetTVShowDetails`$kodi->videoLibrary()->getTVShowDetails(TvShow $tvshow);`VideoLibrary.GetEpisodes`$kodi->videoLibrary()->getEpisodes($tvShowId);`VideoLibrary.GetRecentlyAddedEpisodes`$kodi->videoLibrary()->recentlyAddedEpisodes($limit=3);`VideoLibrary.Clean`$kodi->videoLibrary()->clean();`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~2 days

Total

7

Last Release

2994d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13273514?v=4)[Stephen Keller](/maintainers/stekel)[@stekel](https://github.com/stekel)

---

Top Contributors

[![stekel](https://avatars.githubusercontent.com/u/13273514?v=4)](https://github.com/stekel "stekel (23 commits)")

---

Tags

kodilaravelphpkodistekel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stekel-kodi/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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