Skip to content
/ amfext Public

PHP 7 extension for Action Message Format (AMF) encoding and decoding with support for AMF0 and AMF3

License

Notifications You must be signed in to change notification settings

emilkm/amfext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c4e5b8 · Dec 4, 2017

History

67 Commits
Sep 29, 2017
Nov 17, 2017
Mar 3, 2016
Sep 29, 2017
Mar 3, 2016
Nov 19, 2017
Nov 22, 2017
Feb 3, 2017
Nov 22, 2017
Feb 3, 2017
Nov 10, 2017
Nov 20, 2017
Dec 4, 2017
Sep 10, 2017
Nov 10, 2017
Dec 4, 2017
Nov 10, 2017
Nov 10, 2017
Nov 10, 2017
Nov 10, 2017
Nov 10, 2017

Repository files navigation

amfext

AMFEXT is a PHP extension that provides encoding and decoding support for AMF0 and AMF3

PHP7

master branch is now PHP7

  • The tests provide reasonable coverage. All encoding/decoding tests from https://github.com/emilkm/efxphp have been used here, and some added as issues were discovered.

Build Status Build status

PHP5

For PHP5 see the php56 branch.

  • Compiles and works on Windows and Linux, but has some memory leaks outstanding.

  • No plans to work on it going forward.

DONE

  • Works well with https://github.com/emilkm/efxphp
  • Extension or not, encoded output and decoded input are the same, and are OK by Adobe/Apache BlazeDS.
  • Removed support for recordset.
  • Removed userland access to StringBuilder.
  • Removed transliteration support. Can look at adding it back if necessary.
  • Fixed various issues from the original version.
  • Changed the object serialization to support traits and traits references.
  • Setup Travis CI.
  • Setup AppVeyor.
  • Added scripts for testing through PHP CLI Server, which helped with detecting some issues.
  • Removed userland encoding/deconding callbacks. They were too much trouble. I went for stability over flexibility.
  • Date, ByteArray, and Vector are now handled in the extension.

TODO

  • Re-add support for XML, XML Document.
  • Write docs.
  • ...

About

PHP 7 extension for Action Message Format (AMF) encoding and decoding with support for AMF0 and AMF3

Resources

License

Stars

Watchers

Forks

Packages

No packages published