Download the PHP package eloquent/liftoff without Composer
On this page you can find all versions of the php package eloquent/liftoff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eloquent/liftoff
More information about eloquent/liftoff
Files in eloquent/liftoff
Package liftoff
Short Description Open any file or URI using the default GUI application from within PHP.
License MIT
Homepage https://github.com/eloquent/liftoff
Informations about the package liftoff
No longer maintained
This package is no longer maintained. See this statement for more info.
Liftoff
Open any file or URI using the default GUI application from within PHP.
Installation and documentation
- Available as Composer package eloquent/liftoff.
- Executable phar available for download.
- API documentation available.
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.
Usage
Liftoff can be used as a library, to launch files and URIs from within a PHP application:
Arguments provided as the second parameter will be forwarded on to the associated application.
Command line interface
Liftoff comes with a command line interface which can be used to launch files and URIs from the command line:
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.