technodelight/php-cli-cross-platform-open

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

Maintainers

Package info

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

pkg:composer/technodelight/php-cli-cross-platform-open

Statistics

Installs: 15 161

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.0 2019-07-03 12:40 UTC

This package is auto-updated.

Last update: 2026-03-01 00:13:13 UTC


README

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

usage

<?php

use Technodelight\CliOpen\OsAdaptingFactory;
$cliOpen = OsAdaptingFactory::create();
$cliOpen->open('https://packagist.com');

requirements

You need one of the following terminal applications available: