Primitive types behaving like grown up objects

0.9.3 2014-07-03 17:48 UTC

This package is not auto-updated.

Last update: 2024-07-06 14:07:54 UTC


PHP Objects


This project has been deprecated in favor of Koine Objects

Primitive types behaving like grown up objects. Compatible with PHP 5.3.3+

Code Information:

Build Status Coverage Status Code Climate Scrutinizer Code Quality

Package information:

Latest Stable Version Total Downloads Latest Unstable Version License

Once you've written some ruby code and you HAVE to write php, you miss the hell out off ruby objects.

Well, not anymore. Hopefully.


Installing via Composer

Append the lib to your requirements key in your composer.json.

    // composer.json
    // [..]
    require: {
        // append this line to your requirements
        "php-objects/php-objects": "dev-master"

Alternative install

Issues/Features proposals

Here is the issue tracker.


Only TDD code will be accepted. Please follow the PSR-2 code standard.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

How to run the tests:

phpunit --configuration tests/phpunit.xml

To check the code standard run:

phpcs --standard=PSR2 lib
phpcs --standard=PSR2 tests

# alternatively