koine / core
Primitive types behaving like grown up objects
Installs: 1 997
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.3
Requires (Dev)
- phpunit/phpunit: *
- satooshi/php-coveralls: dev-master
README
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.
- Koine\Object
- Koine\Hash - There are tons of contribuitions you can make here
- Koine\String - And here!
- Koine\ArrayReference - And here!
Installing
Installing via Composer
Append the lib to your requirements key in your composer.json.
{ // composer.json // [..] require: { // append this line to your requirements "koine/core": "0.9.*" } }
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