Skip to content

Commit 5e70e75

Browse files
author
Bram Ceulemans
authored
Update README.md
1 parent 7dd5c61 commit 5e70e75

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
PHP Serial
22
==========
33

4+
Install
5+
-------
6+
7+
```bash
8+
composer require blamebutton/php-serial
9+
```
10+
411
PHP Serial was written at a time where I did not know any other language than
512
PHP and I started to get seriously bored with its abilities.
613

@@ -19,7 +26,7 @@ Example
1926
include 'PhpSerial.php';
2027

2128
// Let's start the class
22-
$serial = new PhpSerial;
29+
$serial = new PhpSerial();
2330

2431
// First we must specify the device. This works on both linux and windows (if
2532
// your linux serial device is /dev/ttyS0 for COM1, etc)

0 commit comments

Comments
 (0)