2017 © Pedro Peláez
 

library objref

ObjRef

image

uwem/objref

ObjRef

  • Sunday, March 20, 2016
  • by UweM
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ObjRef - Remote Objects for PHP

ObjRef is an easy way to access php objetcs in another process or over the network., (*1)

Both processes need the same (or at minimum, a compatible interface) set of classes. All calls to remote objects are marshalled via a auto-generated proxy class and transfered to the other side., (*2)

You can mark objects with an @\ObjRef\TransferObject annotation to mark them as transferable. These objects get serialized and transfered. References in this transferobject that are no transferobjects itself are replaced by proxies., (*3)

Check out my symfony RemoteBundle for a symfony implementation and the ExampleBundle for a working demo, (*4)

Installation

Just run composer require uwem/objref, (*5)

Testing

The library has fully unit tests. Start vendor/phpunit/phpunit/phpunit to run the tests, (*6)

The Versions