We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c318a0 commit be3b54bCopy full SHA for be3b54b
README.md
@@ -1,2 +1,20 @@
1
# php-cli-cross-platform-open
2
Opens a file or URL in the user's preferred application in CLI (cross platform)
3
+
4
+## usage
5
6
+```
7
+<?php
8
9
+use Technodelight\CliOpen\OsAdaptingFactory;
10
+$cliOpen = OsAdaptingFactory::create();
11
+$cliOpen->open('https://packagist.com');
12
13
14
+## requirements
15
16
+You need one of the following terminal applications available:
17
18
+- open (OS X default)
19
+- xdg-open (default in some linux distros)
20
+- opn / open-cli (https://github.com/sindresorhus/open-cli)
0 commit comments