title: Can we create a GRPC server in PHP instead of NodeJS?
body: <p>I'm new to GRPC I read the quickstart guide and PHP basics. But I see lot all are using NodeJS to run the server side for grpc. But what I wanted to achieve is use PHP on both ends of grpc and create Server + Client in PHP only.</p>
  
  <blockquote>
    <p>So it's like Client will send the informtation to server and Server
    will process the information realtime.</p>
  </blockquote>
  
  <p>I have checked the test case files ServerTest.php code is below</p>
  
  <pre><code>class ServerTest extends PHPUnit_Framework_TestCase
  {
      public function setUp()
      {
      }
  
      public function tearDown()
      {
      }
  
      /**
       * @expectedException InvalidArgumentException
       */
      public function testInvalidConstructor()
      {
          $server = new Grpc\Server('invalid_host');
      }
  
      /**
       * @expectedException InvalidArgumentException
       */
      public function testInvalidAddHttp2Port()
      {
          $this-&gt;server = new Grpc\Server([]);
          $this-&gt;port = $this-&gt;server-&gt;addHttp2Port(['0.0.0.0:0']);
      }
  
      /**
       * @expectedException InvalidArgumentException
       */
      public function testInvalidAddSecureHttp2Port()
      {
          $this-&gt;server = new Grpc\Server([]);
          $this-&gt;port = $this-&gt;server-&gt;addSecureHttp2Port(['0.0.0.0:0']);
      }
  }
  </code></pre>
  
  <p>I'm not sure if this is possible any help would be highly appriciated:</p>
  
  <p>thanks</p>