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 5y 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 2w 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 35% 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

3042d 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

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[illuminate/http

The Illuminate Http package.

11937.9M6.7k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

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

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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