PHPackages                             panlatent/apple-remote-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. panlatent/apple-remote-cli

AbandonedArchivedProject[CLI &amp; Console](/categories/cli)

panlatent/apple-remote-cli
==========================

Apple Remote protocol console application

341PHP

Since May 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/panlatent/apple-remote-cli)[ Packagist](https://packagist.org/packages/panlatent/apple-remote-cli)[ RSS](/packages/panlatent-apple-remote-cli/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Apple Remote CLI
================

[](#apple-remote-cli)

[![Build Status](https://camo.githubusercontent.com/b7370ceddd63f1338d5613a347f2c35b25f9e5363890803ac12f2bfa088b2fd4/68747470733a2f2f7472617669732d63692e6f72672f70616e6c6174656e742f6170706c652d72656d6f74652d636c692e737667)](https://travis-ci.org/panlatent/apple-remote-cli)[![Latest Stable Version](https://camo.githubusercontent.com/e272bb91daec1a54a2713b51448a5134c2e62dec2b1e31e0855478028db73a72/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f6170706c652d72656d6f74652d636c692f762f737461626c652e737667)](https://packagist.org/packages/panlatent/apple-remote-cli)[![Total Downloads](https://camo.githubusercontent.com/63417ca11cdb742830a1a146613218229da4ffa1153b81247396aabbea19fa8b/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f6170706c652d72656d6f74652d636c692f646f776e6c6f6164732e737667)](https://packagist.org/packages/panlatent/apple-remote-cli)[![Latest Unstable Version](https://camo.githubusercontent.com/a3bc633bb03e283c0c7a44e411896a7f66c11bf85a786234a7f59eb8f3fb5325/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f6170706c652d72656d6f74652d636c692f762f756e737461626c652e737667)](https://packagist.org/packages/panlatent/apple-remote-cli)[![License](https://camo.githubusercontent.com/60760db4efb925d8e960d2758841a4fc14cf62c688ad78ef6602a43f9128cb0a/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f6170706c652d72656d6f74652d636c692f6c6963656e73652e737667)](https://packagist.org/packages/panlatent/apple-remote-cli)

Apple Remote protocol console application. Using console control your iTunes.

[![](https://camo.githubusercontent.com/2af7e8a0773ac63fb0222dd89f243f1e0d749675d3b42897edd34a484b365c33/687474703a2f2f7778312e73696e61696d672e636e2f6d773639302f3030354c55464a526c79316665746461627371317967333069633032396468322e676966)](https://camo.githubusercontent.com/2af7e8a0773ac63fb0222dd89f243f1e0d749675d3b42897edd34a484b365c33/687474703a2f2f7778312e73696e61696d672e636e2f6d773639302f3030354c55464a526c79316665746461627371317967333069633032396468322e676966)

[![](https://camo.githubusercontent.com/8000a75a6fcbc1f625e36570fafb2b0c747efd857c65e165c87c98cb3cb0b85d/687474703a2f2f7778332e73696e61696d672e636e2f6d773639302f3030354c55464a526c793166657464616378793439673330676430337337366a2e676966)](https://camo.githubusercontent.com/8000a75a6fcbc1f625e36570fafb2b0c747efd857c65e165c87c98cb3cb0b85d/687474703a2f2f7778332e73696e61696d672e636e2f6d773639302f3030354c55464a526c793166657464616378793439673330676430337337366a2e676966)

[![](https://camo.githubusercontent.com/5f28b192b8b644d3e05b7736a46d9dfe38b07a7e2ff906cbfbe780a59bd38c6f/687474703a2f2f7778332e73696e61696d672e636e2f6d773639302f3030354c55464a526c7931666574646165696c646967333067643034313737332e676966)](https://camo.githubusercontent.com/5f28b192b8b644d3e05b7736a46d9dfe38b07a7e2ff906cbfbe780a59bd38c6f/687474703a2f2f7778332e73696e61696d672e636e2f6d773639302f3030354c55464a526c7931666574646165696c646967333067643034313737332e676966)

What's this
-----------

[](#whats-this)

Apple Remote Cli like `Apple Remote App（ iOS ）`. It is a command-line program, so you can use it to control your iTunes, it's cool!

This tool includes a command line character ui. It can display song and states. You can use a shortcut key like `Vim` to control iTunes.

About Matches
-------------

[](#about-matches)

This project not supported with iTunes recognition and matching. Very sad. You need to add a `--auth=` parameter，requires you to manually capture matching data.

```
(!) 由于使用 PHP 编写，无法直接调用相关系统API，也没有找到与 Bonjour 服务通信的方法，
更无法抢占设备的 mDNS 端口。所以该命令实现目前需要使用 iOS 设备遥控器配对数据。**

```

Requirements
------------

[](#requirements)

- PHP 5.5 or later

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

[](#installation)

Download the library using composer:

```
$ composer require panlatent/apple-remote-cli
```

Usage
-----

[](#usage)

Use a command:

```
$ apple-remote-cli play/next/last/vol [-+]value
```

Run player:

```
$ apple-remote-cli player
```

The `player` command will open a character UI. Use a key control iTunes:

`q` Quit | `p` Play/Pause | `j` Next | `k` Last | `s` Switch Shuffle | `r` Switch Repeat

Character UI is a single process. This means that it is affected by network (HTTP Request).

We have an experimental option `--gui`, it will open a GUI window. :) Help we improve.

License
-------

[](#license)

The Apple Remote CLI is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![panlatent](https://avatars.githubusercontent.com/u/4393268?v=4)](https://github.com/panlatent "panlatent (43 commits)")

---

Tags

apple-remoteconsoledaapituneslyricmusicphp

### Embed Badge

![Health badge](/badges/panlatent-apple-remote-cli/health.svg)

```
[![Health](https://phpackages.com/badges/panlatent-apple-remote-cli/health.svg)](https://phpackages.com/packages/panlatent-apple-remote-cli)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)[macopedia/magento2-categoryimporter

Category Importer for Magento 2

344.7k](/packages/macopedia-magento2-categoryimporter)

PHPackages © 2026

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