All Projects â†’ spiral â†’ Php Grpc

spiral / Php Grpc

Licence: mit
🔌 Fast and furious GRPC server for PHP applications

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Php Grpc

Grpc Tools
A suite of gRPC debugging tools. Like Fiddler/Charles but for gRPC.
Stars: ✭ 881 (+127.65%)
Mutual labels:  grpc, tls
Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (-3.62%)
Mutual labels:  grpc
Launcher
Osquery launcher, autoupdater, and packager
Stars: ✭ 346 (-10.59%)
Mutual labels:  grpc
Kadnode
P2P DNS with content key, crypto key and PKI support. DynDNS alternative.
Stars: ✭ 359 (-7.24%)
Mutual labels:  tls
Grpc Example
An example of using Go gRPC and tools from the greater gRPC ecosystem together with the GoGo Protobuf Project.
Stars: ✭ 352 (-9.04%)
Mutual labels:  grpc
Grapi
😮 A surprisingly easy API server and generator in gRPC and Go
Stars: ✭ 364 (-5.94%)
Mutual labels:  grpc
Ts Proto
An idiomatic protobuf generator for TypeScript
Stars: ✭ 340 (-12.14%)
Mutual labels:  grpc
Jwtproxy
An HTTP-Proxy that adds AuthN through JWTs
Stars: ✭ 379 (-2.07%)
Mutual labels:  tls
Gifee
Google's Infrastructure for Everyone Else
Stars: ✭ 370 (-4.39%)
Mutual labels:  grpc
Akka Grpc
Akka gRPC
Stars: ✭ 361 (-6.72%)
Mutual labels:  grpc
Squzy
Squzy - is a high-performance open-source monitoring, incident and alert system written in Golang with Bazel and love.
Stars: ✭ 359 (-7.24%)
Mutual labels:  grpc
Packetproxy
A local proxy written in Java
Stars: ✭ 352 (-9.04%)
Mutual labels:  grpc
Hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Stars: ✭ 4,206 (+986.82%)
Mutual labels:  grpc
Go Distributed Sys
A simple example on Event Sourcing/CQRS in Go for building distributed systems and microservices with NATS Streaming, gRPC and CockroachDB
Stars: ✭ 350 (-9.56%)
Mutual labels:  grpc
Illustrated Tls13
The Illustrated TLS 1.3 Connection: Every byte explained
Stars: ✭ 372 (-3.88%)
Mutual labels:  tls
Chronos
📊 📊 📊 Monitors the health and web traffic of servers, microservices, and containers with real-time data monitoring and receive automated notifications over Slack or email.
Stars: ✭ 347 (-10.34%)
Mutual labels:  grpc
Trustme
#1 quality TLS certs while you wait, for the discerning tester
Stars: ✭ 355 (-8.27%)
Mutual labels:  tls
Protoactor Go
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
Stars: ✭ 3,934 (+916.54%)
Mutual labels:  grpc
Letmegrpc
[maintainer wanted] generates a web form gui from a grpc specification
Stars: ✭ 379 (-2.07%)
Mutual labels:  grpc
Tlse
Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library
Stars: ✭ 375 (-3.1%)
Mutual labels:  tls

PHP-GRPC

Latest Stable Version GoDoc Build Status Go Report Card Total alerts Codecov

PHP-GRPC is an open-source (MIT) high-performance PHP GRPC server build at top of RoadRunner. Server support both PHP and Golang services running within one application.

Documentation:

Features:

  • native Golang GRPC implementation compliant
  • minimal configuration, plug-and-play model
  • very fast, low footprint proxy
  • simple TLS configuration
  • debug tools included
  • Prometheus metrics
  • middleware and server customization support
  • code generation using protoc plugin (go get github.com/spiral/php-grpc/cmd/protoc-gen-php-grpc)
  • transport, message, worker error management
  • response error codes over php exceptions
  • works on Windows

Usage:

Install rr-grpc and protoc-gen-php-grpc by building it or use pre-build binaries.

Define your service schema using proto file. You can scaffold protobuf classes and GRPC service interfaces using:

$ protoc --php_out=target-dir/ --php-grpc_out=target-dir/ sample.proto

Make sure to install protoc compiler and run composer require spiral/php-grpc first

Implement needed classes and create worker.php to invoke your services.

Place .rr.yaml (or any other format supported by viper configurator) into the root of your project. You can run your application now:

$ rr-grpc serve -v -d

To reset workers state:

$ rr-grpc grpc:reset

To show workers statistics:

$ rr-grpc grpc:workers -i

See example.

You can find more details regarding server configuration at RoadRunner Wiki.

License:

MIT License (MIT). Please see LICENSE for more information. Maintained by SpiralScout.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].