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.
4343How can I use it ?
4444==================
4545
46- use FastCGI\Client ;
46+ require 'vendor/autoload.php' ;
4747
48- require('fastcgi.php') ;
48+ use FastCGI\Client ;
4949
5050$client = new Client('localhost', '9000');
5151$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 1515 * See the GNU Lesser General Public License for more details.
1616 */
1717
18+ require 'vendor/autoload.php ' ;
19+
1820use FastCGI \Client ;
1921
2022/**
2426 * @author Remi Collet <remi@famillecollet.com>
2527 * @version 1.0
2628 */
27- require ('fastcgi.php ' );
28-
2929if (!isset ($ _SERVER ['argc ' ])) {
3030 die ("Command line only \n" );
3131}
You can’t perform that action at this time.
0 commit comments