PHP/GRPC -a script to connect from PHP to GRPC server
€30-250 EUR
Terminado
Publicado hace más de 3 años
€30-250 EUR
Pagado a la entrega
First of all: please post real bids. I will not pay more than your bid. And please read the project before posting bids. Would not pay more than 50-60 EUR.
Check the attached files.
I need a php script to communicate with a GRPC service. I have php grcp module installed on the server, have generated php classes from .proto file. (Check the attached files)
This is code in Golang:
[login to view URL]
I need to do the same things in php. Check the attached files. You need to do it in [login to view URL] file:
- connect to the GRCP service with a secure connection (I will provide the real server address after accepting the project)
- authenticate with username/passoword (I will provide the real data after accepting the project)
- tu excecute some other commands.
I can not even stablish connection. This code:
$client = new Pbx\ClientHi(
'sample-domain:16060',
[
'credentials' => \Grpc\ChannelCredentials::createSsl(file_get_contents('[login to view URL]')),
]
);
returns server error 500 - PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Message constructor must be
an array or null.
This is an open source messanger project that I am setting up for my needs. More info:
[login to view URL]
[login to view URL]
[login to view URL]
I'm a golang for more thatn 4 year and a PHP developer for more than 10. I have been working with grpc server implemented on PHP and communication from PHP client. I already made the integration like this for a company and I can do it for the price I'm proposing you here and before 5 days.