PHPackages                             archfizz/phpairplay - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. archfizz/phpairplay

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

archfizz/phpairplay
===================

v0.0.1(12y ago)926[3 issues](https://github.com/archfizz/phpairplay/issues)MITPHPPHP &gt;=5.4.0

Since May 2Pushed 11y ago2 watchersCompare

[ Source](https://github.com/archfizz/phpairplay)[ Packagist](https://packagist.org/packages/archfizz/phpairplay)[ RSS](/packages/archfizz-phpairplay/feed)WikiDiscussions master Synced 1mo ago

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

PhpAirPlay
==========

[](#phpairplay)

[![Build Status](https://camo.githubusercontent.com/2ccda3881efc5c976a1e8e856830dff04d2583c33fe98952369b07ee1bacc4cc/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6172636866697a7a2f706870616972706c61792f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/archfizz/phpairplay) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/81cf54769e6b5245f90cf253b60f14d7d464bd97b88889aaf5d593028c68000d/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6172636866697a7a2f706870616972706c61792f6d61737465722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/archfizz/phpairplay/?branch=master)[![HHVM Testing](https://camo.githubusercontent.com/2f722120d001c2a38ae63374ab26f26939af8e4b655e80004925d5d9486a2f4c/687474703a2f2f696d672e736869656c64732e696f2f6868766d2f6172636866697a7a2f706870616972706c61792f6d61737465722e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/2f722120d001c2a38ae63374ab26f26939af8e4b655e80004925d5d9486a2f4c/687474703a2f2f696d672e736869656c64732e696f2f6868766d2f6172636866697a7a2f706870616972706c61792f6d61737465722e7376673f7374796c653d666c6174)

Mirror your desktop to an Apple TV device using this PHP command line utility.

This utility will repeatedly take a screenshot of your desktop and put it on your Apple TV.

Usage
-----

[](#usage)

Just run this command, but replace the IP address `192.168.0.69` with whatever the IP address of your Apple TV is.

```
$ php bin/airplay mirror 192.168.0.69

```

Most of the time, you can simply run.

```
$ php bin/airplay mirror Apple-TV.local

```

Features
--------

[](#features)

### Mirroring

[](#mirroring)

Mirroring will repeatedly take a screenshot of your desktop and put it on your Apple TV. Depending on your system, a number of utilities can be used to capture the screenshot.

Syntax:

```
$ php bin/airplay mirror [host] --utility=[imagemagick|osx|gnome|shutter]

```

### Video Playback

[](#video-playback)

Currently work in progress, this is the next feature of PhpAirPlay.

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

[](#installation)

This utility requires the following to be installed on your machine.

- PHP 5.4
- cURL
- Git
- Imagemagick

Then run these commands from the terminal to install.

```
$ git clone https://github.com/archfizz/phpairplay.git
$ cd phpairplay
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install

```

Add to existing Composer project
--------------------------------

[](#add-to-existing-composer-project)

Add to your composer.json

```
{
    "require": {
        "archfizz/phpairplay": "dev-master"
    },
    "config": {
        "bin-dir": "bin"
    }
}

```

Then run from the root of your project

```
$ bin/airplay mirror Apple-TV.local

```

Caution
-------

[](#caution)

This was a quick proof-of-concept, so I haven't test-driven this project. The next update will use testing tools, so the commands may change.

Roadmap
-------

[](#roadmap)

- Add automated tests (PhpSpec, Behat).
- Allow any screen capture utility to be used.
- Allow for advanced configuration.
- Add functionality for all AirPlay features.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4399d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0923f1d053ec792dfae1a417d9fab58a17f1cf82db799b52616a415db36ea510?d=identicon)[adamelso](/maintainers/adamelso)

---

Top Contributors

[![adamelso](https://avatars.githubusercontent.com/u/5972864?v=4)](https://github.com/adamelso "adamelso (30 commits)")

### Embed Badge

![Health badge](/badges/archfizz-phpairplay/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)

PHPackages © 2026

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