technodelight/php-cli-cross-platform-open

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

1.0 2019-07-03 12:40 UTC

This package is auto-updated.

Last update: 2024-04-29 04:19:29 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: