mercredi 2 janvier 2019

Laravel gRPC Integration

I have setup gRPC in core PHP and it is working fine but i want to use it with laravel 5.7. I have downloaded gRPC using composer.json. Now i don't know what i have to do for using gRPC in it.

I have added below in my composer.json file

"require": {
        "datto/protobuf-php": "dev-master",
        "grpc/grpc": "^1.15.0"
    },
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/stanley-cheung/Protobuf-PHP"
        }
    ]

But now i am not getting what should be next to do. So anyone knows then please let me know. I have my core PHP code for gRPC(core library example) which i have setup from this web url. gRPC in PHP. So i just want to integrate into laravel.

Any help should be appreciate.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire