mirror of
https://codeberg.org/reflect/reflect-client-php.git
synced 2025-09-13 17:43:42 +02:00
feat: composer autoload
This commit is contained in:
parent
5f38cf572f
commit
c639d302e9
3 changed files with 6 additions and 1 deletions
2
client
2
client
|
@ -4,7 +4,7 @@
|
||||||
die("Must be run from command line\n");
|
die("Must be run from command line\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__ . "/SocketClient.php";
|
require_once __DIR__ . "/src/SocketClient.php";
|
||||||
|
|
||||||
// Require 3 to 4 arguments
|
// Require 3 to 4 arguments
|
||||||
if ($argc < 4 || $argc > 4) {
|
if ($argc < 4 || $argc > 4) {
|
||||||
|
|
|
@ -10,5 +10,10 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Reflect\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
"require": {}
|
"require": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue