php-objects / php-objects
Primitive types behaving like grown up objects
Installs: 1 706
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires (Dev)
- fabpot/php-cs-fixer: dev-master
- phpmd/phpmd: *
- phpunit/phpunit: 3.7.*
- satooshi/php-coveralls: dev-master
- sebastian/phpcpd: *
- sebastian/phpdcd: *
This package is not auto-updated.
Last update: 2024-12-07 16:45:33 UTC
README
IMPORTANT
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:
Package information:
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
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
- Learn composer. You should not be looking for an alternative install. It is worth the time. Trust me ;-)
- Follow this set of instructions
Issues/Features proposals
Here is the issue tracker.
Contributing
Only TDD code will be accepted. Please follow the PSR-2 code standard.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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
./bin/travis/run_phpcs.sh