套件:php-google-protobuf(3.25.4-1)
試製(Experimental)套件
警告:這個套件來自於 experimental 發行版。這表示它很有可能表現出不穩定或者出現 bug ,甚至是導致資料損失。請務必在使用之前查閱 changelog 以及其他潛在的文件。
PHP bindings for protocol buffers
Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data - similar to XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the "old" format.
Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
This package contains the PHP bindings for the protocol buffers. You will need the protoc tool (in the protobuf-compiler package) to compile your definition to PHP code, and then the modules in this package will allow you to use those classes in your programs.