Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Rémy Sanchez <remy.sanchez@hyperthese.net>
Rizwan Kassim <rizwank@geekymedia.com>
Rizwan Kassim <rizwank@geekymedia.com>

Esteban Serna <esteban.serna.p@gmail.com>
5 changes: 4 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ Example

```php
<?php
include 'PhpSerial.php';

include "./vendor/autoload.php";

use Hyperthese\PhpSerial\PhpSerial;

// Let's start the class
$serial = new PhpSerial;
Expand Down
14 changes: 11 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,19 @@
],
"minimum-stability": "stable",
"autoload": {
"classmap": ["src/"]
"classmap": [
"src/"
],
"psr-4": {
"Hyperthese\\PhpSerial\\": "src/"
}
},
"extra": {
"branch-alias": {
"dev-develop": "1.0.x-dev"
}
}
}
},
"require": {
"ext-http": "*"
}
}
Loading