We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd5c61 commit 5e70e75Copy full SHA for 5e70e75
README.md
@@ -1,6 +1,13 @@
1
PHP Serial
2
==========
3
4
+Install
5
+-------
6
+
7
+```bash
8
+composer require blamebutton/php-serial
9
+```
10
11
PHP Serial was written at a time where I did not know any other language than
12
PHP and I started to get seriously bored with its abilities.
13
@@ -19,7 +26,7 @@ Example
19
26
include 'PhpSerial.php';
20
27
21
28
// Let's start the class
22
-$serial = new PhpSerial;
29
+$serial = new PhpSerial();
23
30
24
31
// First we must specify the device. This works on both linux and windows (if
25
32
// your linux serial device is /dev/ttyS0 for COM1, etc)
0 commit comments