PHPackages                             koine/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. koine/core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

koine/core
==========

Primitive types behaving like grown up objects

1.0(10y ago)02.0k1[1 issues](https://github.com/koinephp/Core/issues)5MITPHPPHP &gt;=5.3.3

Since Aug 29Pushed 9y agoCompare

[ Source](https://github.com/koinephp/Core)[ Packagist](https://packagist.org/packages/koine/core)[ Docs](https://github.com/koinephp/core)[ RSS](/packages/koine-core/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (7)Used By (5)

Koine Core
==========

[](#koine-core)

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

Code information:

[![Build Status](https://camo.githubusercontent.com/f516bb47ce3c2c9cd789b0d96ff79de093af69972ae01ebd35f152048329d441/68747470733a2f2f7472617669732d63692e6f72672f6b6f696e657068702f436f72652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/koinephp/Core)[![Coverage Status](https://camo.githubusercontent.com/5f5e98126b6494baf2d490685ef0601131e3a96e9e1154f987a9105a4991e917/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6b6f696e657068702f436f72652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/koinephp/Core?branch=master)[![Code Climate](https://camo.githubusercontent.com/9d2795e83195a5194058867fcd93091095850336234ee88624941cc436f86a5d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6b6f696e657068702f436f72652e706e67)](https://codeclimate.com/github/koinephp/Core)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0e9b2ae0f267949b493d5010a31754ce9d67f1a62fcb5aff6f08c512327003da/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6f696e657068702f436f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/koinephp/Core/?branch=master)

Package information:

[![Latest Stable Version](https://camo.githubusercontent.com/66865f9d49506864b24033016997dd81d471564b1d7bcf86bdb219bef59f45c5/68747470733a2f2f706f7365722e707567782e6f72672f6b6f696e652f636f72652f762f737461626c652e737667)](https://packagist.org/packages/koine/core)[![Total Downloads](https://camo.githubusercontent.com/34a6dde527494af9d0b3762df5c7890a8f0346f6b22d844d8ba953abc89a59ed/68747470733a2f2f706f7365722e707567782e6f72672f6b6f696e652f636f72652f646f776e6c6f6164732e737667)](https://packagist.org/packages/koine/core)[![Latest Unstable Version](https://camo.githubusercontent.com/012697d56165d0f56488d2a4c5ae00a98c30e30d40fa88fac4e675698fc16fcf/68747470733a2f2f706f7365722e707567782e6f72672f6b6f696e652f636f72652f762f756e737461626c652e737667)](https://packagist.org/packages/koine/core)[![License](https://camo.githubusercontent.com/679437289bd6743d30d52d37026a909ed277e3608a24e5cd0b98bd02c50677f8/68747470733a2f2f706f7365722e707567782e6f72672f6b6f696e652f636f72652f6c6963656e73652e737667)](https://packagist.org/packages/koine/core)[![Dependency Status](https://camo.githubusercontent.com/2fb13b66558e8ce8f28ecb50798c631672026b566d9c0fdbe322b8435fb5c627/68747470733a2f2f67656d6e617369756d2e636f6d2f6b6f696e657068702f436f72652e706e67)](https://gemnasium.com/koinephp/Core)

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](docs/Object.md)
- [Koine\\Hash](docs/Hash.md) - There are tons of contribuitions you can make here
- [Koine\\String](docs/String.md) - And here!
- [Koine\\ArrayReference](docs/ArrayReference.md) - And here!

Installing
----------

[](#installing)

### Installing via Composer

[](#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

[](#alternative-install)

- Learn [composer](https://getcomposer.org). You should not be looking for an alternative install. It is worth the time. Trust me ;-)
- Follow [this set of instructions](#installing-via-composer)

Issues/Features proposals
-------------------------

[](#issuesfeatures-proposals)

[Here](https://github.com/koinephp/Core/issues) is the issue tracker.

Contributing
------------

[](#contributing)

Only TDD code will be accepted. Please follow the [PSR-2 code standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md).

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:

[](#how-to-run-the-tests)

```
phpunit --configuration tests/phpunit.xml
```

### To check the code standard run:

[](#to-check-the-code-standard-run)

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

# alternatively

./bin/travis/run_phpcs.sh
```

License
-------

[](#license)

[MIT](MIT-LICENSE)

Authors
-------

[](#authors)

- [Marcelo Jacobus](https://github.com/mjacobus)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~82 days

Total

7

Last Release

3964d ago

Major Versions

0.9.10 → 1.02015-08-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/226834?v=4)[Marcelo Jacobus](/maintainers/mjacobus)[@mjacobus](https://github.com/mjacobus)

---

Top Contributors

[![mjacobus](https://avatars.githubusercontent.com/u/226834?v=4)](https://github.com/mjacobus "mjacobus (153 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/koine-core/health.svg)

```
[![Health](https://phpackages.com/badges/koine-core/health.svg)](https://phpackages.com/packages/koine-core)
```

###  Alternatives

[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
