Browse Source

Renamed the package.

Adam Klvač 2 years ago
parent
commit
50ba84d1b8

+ 1 - 1
LICENSE.md

@@ -1,4 +1,4 @@
-Copyright (c) 2018 Adawolfa
+Copyright (c) 2018 Adam Klvač
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation

+ 3 - 3
README.md

@@ -5,7 +5,7 @@ This is asynchronous FastCGI both server and client implementation for PHP, more
 ## Installing
 
 ~~~
-composer install adawolfa/fastcgi
+composer install zmrd/fastcgi
 ~~~
 
 ## Writing client
@@ -13,7 +13,7 @@ composer install adawolfa/fastcgi
 Client must be obtained using connector. This is different from HTTP client, since FastCGI isn't limited to one request and response per connection. You can (and should) send multiple requests. Note that their parallel processing is limited by the server you are connecting to (for instance, native PHP CGI doesn't support it, but handles queued requests correctly).
 
 ~~~php
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 
 $loop = React\EventLoop\Factory::create();
 $connector = new FastCGI\Connector($loop);
@@ -86,7 +86,7 @@ $client->on('begin', function(FastCGI\Client\Request $request) use($loop) {
 Writing the FastCGI server is very similar to writing its HTTP counterpart. Your handler is expected to return a HTTP response or a promise evaluating into one.
 
 ~~~php
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 
 $loop = React\EventLoop\Factory::create();
 

+ 3 - 3
composer.json

@@ -1,5 +1,5 @@
 {
-	"name": "adawolfa/fastcgi",
+	"name": "zmrd/fastcgi",
 	"description": "Asynchronous FastCGI server and client for ReactPHP.",
 	"license": "MIT",
 	"authors": [
@@ -21,12 +21,12 @@
 	"minimum-stability": "dev",
 	"autoload": {
 		"psr-4": {
-			"Adawolfa\\FastCGI\\": "src/"
+			"AmK\\FastCGI\\": "src/"
 		}
 	},
 	"extra": {
 		"branch-alias": {
-			"dev-master": "1.0-dev"
+			"dev-master": "2.0-dev"
 		}
 	}
 }

+ 1 - 1
src/Client.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI;
+namespace AmK\FastCGI;
 use Evenement\EventEmitter;
 use Lisachenko\Protocol\FCGI;
 use Psr\Http\Message\ServerRequestInterface;

+ 2 - 2
src/Client/Request.php

@@ -1,8 +1,8 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI\Client;
-use Adawolfa\FastCGI\Response;
+namespace AmK\FastCGI\Client;
+use AmK\FastCGI\Response;
 use Evenement\EventEmitter;
 use Lisachenko\Protocol\FCGI;
 use React;

+ 1 - 1
src/Connector.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI;
+namespace AmK\FastCGI;
 use Psr\Http\Message\ServerRequestInterface;
 use React;
 

+ 1 - 1
src/Request.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI;
+namespace AmK\FastCGI;
 use Evenement\EventEmitterTrait;
 use React\Http\Io\ServerRequest;
 

+ 1 - 1
src/Response.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI;
+namespace AmK\FastCGI;
 use React\Http;
 
 /**

+ 1 - 1
src/Server.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI;
+namespace AmK\FastCGI;
 use Evenement\EventEmitter;
 use React;
 

+ 1 - 1
src/Server/Connection.php

@@ -1,7 +1,7 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI\Server;
+namespace AmK\FastCGI\Server;
 use Evenement\EventEmitter;
 use Lisachenko\Protocol\FCGI;
 use React;

+ 2 - 2
src/Server/Connection/Request.php

@@ -1,8 +1,8 @@
 <?php
 
 declare(strict_types=1);
-namespace Adawolfa\FastCGI\Server\Connection;
-use Adawolfa\FastCGI;
+namespace AmK\FastCGI\Server\Connection;
+use AmK\FastCGI;
 use Evenement\EventEmitter;
 use Lisachenko\Protocol\FCGI;
 use Psr\Http\Message\ResponseInterface;

+ 1 - 1
tests/FastCGI/Client.phpt

@@ -4,7 +4,7 @@
  * TEST: Client test.
  */
 
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 use Tester\Assert;
 use Lisachenko\Protocol\FCGI;
 use Psr\Http\Message\ResponseInterface;

+ 1 - 1
tests/FastCGI/Client/Request.phpt

@@ -4,7 +4,7 @@
  * TEST: Client request test.
  */
 
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 use Tester\Assert;
 
 require(__DIR__ . '/../../bootstrap.php');

+ 1 - 1
tests/FastCGI/Connector.phpt

@@ -4,7 +4,7 @@
  * TEST: Connector test.
  */
 
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 use Tester\Assert;
 
 require(__DIR__ . '/../bootstrap.php');

+ 1 - 1
tests/FastCGI/Server/Connection.phpt

@@ -4,7 +4,7 @@
  * TEST: Server connection test.
  */
 
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 use Tester\Assert;
 use Lisachenko\Protocol\FCGI;
 use Psr\Http\Message\ResponseInterface;

+ 1 - 1
tests/FastCGI/Server/Connection/Request.phpt

@@ -4,7 +4,7 @@
  * TEST: Server request test.
  */
 
-use Adawolfa\FastCGI;
+use AmK\FastCGI;
 use Tester\Assert;
 use Lisachenko\Protocol\FCGI;
 use Psr\Http\Message\ResponseInterface;