PHPackages                             useallfive/a-vs-an - 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. useallfive/a-vs-an

ActiveLibrary

useallfive/a-vs-an
==================

Determines whether 'a' or 'an' should precede a word

0190[1 PRs](https://github.com/UseAllFive/a-vs-an/pulls)PHP

Since Oct 18Pushed 10y ago22 watchersCompare

[ Source](https://github.com/UseAllFive/a-vs-an)[ Packagist](https://packagist.org/packages/useallfive/a-vs-an)[ RSS](/packages/useallfive-a-vs-an/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

AvsAn Symfony Bundle
====================

[](#avsan-symfony-bundle)

PHP port of

Installation
------------

[](#installation)

With [composer](http://getcomposer.org):

```
{
    "require": {
        "useallfive/a-vs-an": "dev-master"
    }
}
```

### Symfony 2

[](#symfony-2)

Add the bundle to your `AppKernel#registerBundles()` method.

```
$bundles = array(
    // ...
    new UseAllFive\AvsAnBundle\UseAllFiveAvsAnBundle(),
);
```

Sample usage
------------

[](#sample-usage)

### Symfony 2

[](#symfony-2-1)

```
class DefaultController extends Controller
{
    public function defaultAction()
    {
        $aVsAn = $this->get('a_vs_an');
        $result = $aVsAn->query('0800 number');
    }
}
```

```
print_r($result);
```

```
Array
(
    [aCount] => 8
    [anCount] => 25
    [prefix] => 08
    [article] => an
)
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5045b2b325f6de9d5a852419292a9d3c01a2230db1499b4ea798248909e9ced4?d=identicon)[m14t](/maintainers/m14t)

---

Top Contributors

[![cpubot](https://avatars.githubusercontent.com/u/845717?v=4)](https://github.com/cpubot "cpubot (5 commits)")[![m14t](https://avatars.githubusercontent.com/u/207950?v=4)](https://github.com/m14t "m14t (3 commits)")

### Embed Badge

![Health badge](/badges/useallfive-a-vs-an/health.svg)

```
[![Health](https://phpackages.com/badges/useallfive-a-vs-an/health.svg)](https://phpackages.com/packages/useallfive-a-vs-an)
```

PHPackages © 2026

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