Skip to content

sitkoru/Sitko.Grpc.Tools.Php

Repository files navigation

Sitko.Grpc.Tools.Php

Nuget

MSBuild Target for generate php files from gRPC

Installation

dotnet add package Sitko.Grpc.Tools.Php

Basic usage

Add PhpOutputDir property to Protobuf Item

<ItemGroup>
    <Protobuf Include="**/*.proto" GrpcServices="Both" PhpOutputDir="Php"/>
</ItemGroup>

Limitations

Works only on Linux x64 for now