PHPackages                             axelitus/acre-common - 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. axelitus/acre-common

Abandoned → [norse-blue/scalar-objects](/?search=norse-blue%2Fscalar-objects)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

axelitus/acre-common
====================

axelitus's Acre common classes.

11121PHP

Since Nov 8Pushed 13y ago1 watchersCompare

[ Source](https://github.com/axelitus/php-acre-common)[ Packagist](https://packagist.org/packages/axelitus/acre-common)[ RSS](/packages/axelitus-acre-common/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (1)

Acre Common
===========

[](#acre-common)

Acre Common is a sub-package of Acre. It contains classes for the common usage, mainly *extensions* and tools for basic types (strings, numbers, etc.). For more information about the Acre initiative please visit this link.

Package Information
-------------------

[](#package-information)

- **Main Package:** Acre
- **Category:** Common
- **Author:** Axel Pardemann ()
- **Build Status (master):** [![Build Status](https://camo.githubusercontent.com/05eece98b183eb469e2333cbad2446908f6304e767c6db69526b0e69faa3a25c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6178656c697475732f7068702d616372652d636f6d6d6f6e2e706e67)](http://travis-ci.org/axelitus/php-acre-common)
- **Repository**: [php-acre-common at GitHub](https://github.com/axelitus/php-acre-common "php-acre-common at GitHub")
- **Composer Package:** [axelitus/acre-common at Packagist](http://packagist.org/packages/axelitus/acre-common "axelitus/acre-common at Packagist")
- **Issue Tracker:** [GitHub's issue tracker](https://github.com/axelitus/php-acre-common/issues "GitHub's issue tracker")

Standards
---------

[](#standards)

As a code reuse initiative, this package should follow some standards so it can be easily used by anyone who wants to. Recently there has been an initiative to standardize the chunks of code everyone is building so the wheel must not be reinvented everytime someone needs to do something. There's a group [PHP-FIG (Framework Interop Group)](http://www.php-fig.org) that's behind this initiative of allowing the built libraries to be interchangeable between frameworks and systems.

There are already some standards marked as accepted (*final*): [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md), [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md) and [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md).

**This package is PSR-2 compliant.**

Being PSR-2 compliant means this package can be easily installed by using [Composer](getcomposer.org) from the [Packagist](http://packagist.org) package archive. Just follow the instructions in section [How to install](#how-to-install).

Contents
--------

[](#contents)

- **Num:** Tools for numeric types.
- **Str:** Tools for string types.

How to install
--------------

[](#how-to-install)

To install this package and use it in your app just follow these instructions (if you haven't read the documentation from [Composer](http://getcomposer.org) please do so before you continue):

1. Download composer if you haven't already done so (use your preferred method):

    curl -s  | php
2. Place a require statement inside your `composer.json` file replacing `` with the desired version:

    "require": { "axelitus/acre-common": "" }
3. Run the composer installer to resolve dependencies and download the packages:

    php composer.phar install
4. In order to use the packages you have to *load* the autoloader that was generated by composer:

    require 'vendor/autoload.php';
5. Finally just use the package classes as needed:

    axelitus\\Acre\\Common\\Num::isInt($value);

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/61386558d4fa03cc9de21d20e76f396d5568e0e647e1cdf18f12c87f1a5f87b5?d=identicon)[axelitus](/maintainers/axelitus)

### Embed Badge

![Health badge](/badges/axelitus-acre-common/health.svg)

```
[![Health](https://phpackages.com/badges/axelitus-acre-common/health.svg)](https://phpackages.com/packages/axelitus-acre-common)
```

PHPackages © 2026

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