2017 © Pedro Peláez
 

library flatbuffers

FlatBuffers for PHP

image

google/flatbuffers

FlatBuffers for PHP

  • Sunday, July 29, 2018
  • by gwvo
  • Repository
  • 586 Watchers
  • 9834 Stars
  • 1,876 Installations
  • C++
  • 0 Dependents
  • 0 Suggesters
  • 1549 Forks
  • 263 Open issues
  • 12 Versions
  • 21 % Grown

The README.md

logo FlatBuffers

Build status BuildKite status Fuzzing Status Discord Chat Twitter Follow Twitter Follow, (*1)

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility., (*2)

Quick Start

  1. Build the compiler for flatbuffers (flatc), (*3)

    Use cmake to create the build files for your platform and then perform the compilation (Linux example)., (*4)

    cmake -G "Unix Makefiles"
    make -j
    
  2. Define your flatbuffer schema (.fbs), (*5)

    Write the schema to define the data you want to serialize. See monster.fbs for an example., (*6)

  3. Generate code for your language(s), (*7)

    Use the flatc compiler to take your schema and generate language-specific code:, (*8)

    ./flatc --cpp --rust monster.fbs
    

    Which generates monster_generated.h and monster_generated.rs files., (*9)

  4. Serialize data, (*10)

    Use the generated code, as well as the FlatBufferBuilder to construct your serialized buffer. (C++ example), (*11)

  5. Transmit/store/save Buffer, (*12)

    Use your serialized buffer however you want. Send it to someone, save it for later, etc..., (*13)

  6. Read the data, (*14)

    Use the generated accessors to read the data from the serialized buffer., (*15)

    It doesn't need to be the same language/schema version, FlatBuffers ensures the data is readable across languages and schema versions. See the Rust example reading the data written by C++., (*16)

Documentation

Go to our landing page to browse our documentation., (*17)

Supported operating systems

  • Windows
  • macOS
  • Linux
  • Android
  • And any others with a recent C++ compiler (C++ 11 and newer)

Supported programming languages

Code generation and runtime libraries for many popular languages., (*18)

  1. C
  2. C++ - snapcraft.io
  3. C# - nuget.org
  4. Dart - pub.dev
  5. Go - go.dev
  6. Java - Maven
  7. JavaScript - NPM
  8. Kotlin
  9. Lobster
  10. Lua
  11. PHP
  12. Python - PyPI
  13. Rust - crates.io
  14. Swift - swiftpackageindex
  15. TypeScript - NPM
  16. Nim

Versioning

FlatBuffers does not follow traditional SemVer versioning (see rationale) but rather uses a format of the date of the release., (*19)

Contribution

  • FlatBuffers Issues Tracker to submit an issue.
  • [stackoverflow.com][] with [flatbuffers tag][] for any questions regarding FlatBuffers.

To contribute to this project, see CONTRIBUTING., (*20)

Community

Security

Please see our Security Policy for reporting vulnerabilities., (*21)

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text., (*22)


, (*23)

The Versions

29/07 2018

dev-master

9999999-dev https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

06/04 2018

v1.9.0

1.9.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

20/11 2017

v1.8.0

1.8.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

20/06 2017

v1.7.1

1.7.1.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

17/06 2017

v1.7.0

1.7.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

15/02 2017

v1.6.0

1.6.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

08/02 2017

dev-schemaless

dev-schemaless https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

03/01 2017

v1.5.0

1.5.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

07/12 2016

dev-issue-template

dev-issue-template https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

16/08 2016

v1.4.0

1.4.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

03/02 2016

v1.3.0

1.3.0.0 https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers

07/01 2016

dev-benchmarks

dev-benchmarks https://github.com/google/flatbuffers

FlatBuffers for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4

 

serialization google flatbuffers