Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/technodelight/php-cli-cross-platform-open

Opens a file or URL in the user's preferred application in CLI (cross platform)
https://github.com/technodelight/php-cli-cross-platform-open

cli opn osx-terminal php xdg-open

Last synced: about 2 months ago
JSON representation

Opens a file or URL in the user's preferred application in CLI (cross platform)

Awesome Lists containing this project

README

        

# php-cli-cross-platform-open
Opens a file or URL in the user's preferred application in CLI (cross platform)

## usage

```
open('https://packagist.com');
```

## requirements

You need one of the following terminal applications available:

- open (OS X default)
- xdg-open (default in some linux distros)
- opn / open-cli (https://github.com/sindresorhus/open-cli)