Download the PHP package airflix/airflix without Composer

On this page you can find all versions of the php package airflix/airflix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package airflix

Airflix

Build Status Total Downloads Latest Stable Version License

Airflix is a web application for browsing and playing movies and TV shows from a local home server. The overall goal of the project is to provide a beautiful HTTP interface to AirPlay or Chromecast media onto your TV screen from a phone or tablet.

Airflix Demo

Installation

You can download Airflix either through GitHub or composer.

Via GitHub

Via Composer Create-Project

You may also install Airflix by issuing the Composer create-project command in your terminal:

Recommended Servers

We recommend that you use the following servers to run Airflix.

When trying this application out in a development environment, please note that Laravel Valet currently does not play video files. We recommend you either use Laravel Homestead or a local install of nginx (i.e. from homebrew). Hopefully this will change soon, so we can ngrok our Airflix installs. You could always just setup a tinc VPN with some avahi for your home network.

Create a Database

We recommend you use a database with utf8mb4 encoding and utf8mb4_unicode_520_ci collation. Make sure you also update your .env file with your database credentials and other configuration options.

Apply for an API Token

Airflix requires an API token from themoviedb.org to gather information and images. You will need to create an account and apply there to acquire a key for access to this API.

Configuration

Once you have an API key ready to use, you can simply run php artisan airflix:install to run migrations, configure your folders, and enter API keys. This command will also perform an initial scan of your movies and TV shows folders for content, which will take time on the first run.

Documentation

Airflix has api documentation.

Folders

The folders that contain movies and TV shows follow certain naming conventions.

Each movie is contained inside a folder named with either the movie title (i.e. /Films/Serenity/Serenity.m4v) or the movie title with the release year in parenthesis (i.e. /Films/Avatar (2009)/Avatar (2009).m4v).

TV Shows are contained inside a folder with a similar naming convention to a movie, except each episode file has a S##E##.m4v naming format (i.e. /TV Shows/Stargate Atlantis/S01E01.m4v).

If you use a different file extension from m4v (i.e. mp4) for your video files, you can edit the AIRFLIX_EXTENSIONS_VIDEO in your .env file.

Jobs

We recommend you run redis-server on your home server so that Airflix can queue up jobs. This is required for the Settings page to function properly.

Please see the Laravel documentation to learn how to setup a queue daemon. We recommend limiting to one queue:work process since most of the jobs are synchronous in nature.

We have provided a sample /etc/supervisor/conf.d/airflix-worker.conf file below:

Schedule

Airflix has a number of scheduled tasks to refresh your folder list on a weekly basis. Just add something like the following into your server's cron:

Commands

We have provided a number of Laravel Artisan commands including airflix:history, airflix:install, airflix:folders, airflix:genres, airflix:movies, airflix:shows, and airflix:keys. For more information about each command, you can run php artisan help <command> to find out what options are available for each command.

Testing

License

Airflix is open-sourced software licensed under the MIT license


All versions of airflix with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
guzzlehttp/guzzle Version ~5.0
laravel/framework Version 5.4.*
laravel/tinker Version ^1.0
league/fractal Version ^0.14.0
league/glide-laravel Version ^1.0
php-tmdb/laravel Version ~1.0
predis/predis Version ~1.0
ramsey/uuid Version ^3.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package airflix/airflix contains the following files

Loading the files please wait ....