File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ vendor
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ See the GNU Lesser General Public License for more details.
43
43
How can I use it ?
44
44
==================
45
45
46
- use FastCGI\Client ;
46
+ require 'vendor/autoload.php' ;
47
47
48
- require('fastcgi.php') ;
48
+ use FastCGI\Client ;
49
49
50
50
$client = new Client('localhost', '9000');
51
51
$content = 'key=value';
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " adoy/fastcgi-client" ,
3
+ "description" : " Client for communication with a FastCGI (FCGI) application using the FastCGI protocol." ,
4
+ "keywords" : [" fastcgi" ],
5
+ "license" : " LGPL-2.1" ,
6
+ "authors" : [
7
+ {
8
+ "name" : " Pierrick Charron" ,
9
+ "email" : " pierrick@php.net"
10
+ }
11
+ ],
12
+ "autoload" : {
13
+ "files" : [" fastcgi.php" ]
14
+ }
15
+ }
Original file line number Diff line number Diff line change 15
15
* See the GNU Lesser General Public License for more details.
16
16
*/
17
17
18
+ require 'vendor/autoload.php ' ;
19
+
18
20
use FastCGI \Client ;
19
21
20
22
/**
24
26
* @author Remi Collet <remi@famillecollet.com>
25
27
* @version 1.0
26
28
*/
27
- require ('fastcgi.php ' );
28
-
29
29
if (!isset ($ _SERVER ['argc ' ])) {
30
30
die ("Command line only \n" );
31
31
}
You can’t perform that action at this time.
0 commit comments