2017 © Pedro Peláez
 

library liftoff

Open any file or URI using the default GUI application from within PHP.

image

eloquent/liftoff

Open any file or URI using the default GUI application from within PHP.

  • Thursday, February 13, 2014
  • by ezzatron
  • Repository
  • 2 Watchers
  • 12 Stars
  • 395 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Liftoff

Open any file or URI using the default GUI application from within PHP., (*1)

The most recent stable version is 0.1.1 Current build status image Current coverage status image, (*2)

Installation and documentation

What is Liftoff?

Liftoff provides a simple interface to launch a file or URI in the host operating system's default application, in a cross-platform manner. Liftoff can be used, for example, to launch a HTML page in the operating system's default browser from within a command line PHP application., (*3)

Usage

Liftoff can be used as a library, to launch files and URIs from within a PHP application:, (*4)

use Eloquent\Liftoff\Launcher;

$launcher = new Launcher;

$launcher->launch('/path/to/file.html');
$launcher->launch('/path/to/file.html', array('--with', '--arguments'));

$launcher->launch('http://example.org/');
$launcher->launch('http://example.org/', array('--with', '--arguments'));

Arguments provided as the second parameter will be forwarded on to the associated application., (*5)

Command line interface

Liftoff comes with a command line interface which can be used to launch files and URIs from the command line:, (*6)

liftoff /path/to/file.html
liftoff /path/to/file.html --with --arguments

liftoff http://example.org/
liftoff http://example.org/ --with --arguments

Arguments after the path (or URI) will be forwarded on to the associated application., (*7)

The Versions

13/02 2014

dev-master

9999999-dev https://github.com/eloquent/liftoff

Open any file or URI using the default GUI application from within PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

application gui default open start launch associated

13/02 2014

0.1.1

0.1.1.0 https://github.com/eloquent/liftoff

Open any file or URI using the default GUI application from within PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

application gui default open start launch associated

13/02 2014

dev-develop

dev-develop https://github.com/eloquent/liftoff

Open any file or URI using the default GUI application from within PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

application gui default open start launch associated

15/08 2013

0.1.0

0.1.0.0 https://github.com/eloquent/liftoff

Open any file or URI using the default GUI application from within PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

application gui default open start launch associated