PHPackages                             alterphp/components - 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. alterphp/components

AbandonedArchivedLibrary

alterphp/components
===================

PHP 5.3+ components over Symfony2

1.1.0(11y ago)516921MITPHPPHP &gt;=5.3.3

Since Jun 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/alterphp/components)[ Packagist](https://packagist.org/packages/alterphp/components)[ Docs](https://github.com/alterphp/components)[ RSS](/packages/alterphp-components/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (1)

AlterPHP Components
===================

[](#alterphp-components)

*Compatible with Symfony 2.1.x branch, not tested with further version.*

Some components I use in my developments (mostly with Symfony2)

[![Build Status](https://camo.githubusercontent.com/c83feecc42f46d6757f01ac7630f9e1552ef1dbb74498b2081d8261f34ebe30d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f616c7465727068702f636f6d706f6e656e74732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/alterphp/components)

Components list
---------------

[](#components-list)

- AlterPHP\\Component\\Form\\Type\\ChoiceBitType

    Based on Symfony2 components, this field type provides the way to **store a collection of choices in a simple integer field/column**. It works the same as *ChoiceType* but takes and returns an integer that is the sum of each choice bitWeight value.

    bitWeight field is an integer indicating the power of two that is assigned to the choice and must be **unique**.

    This component has following dependencies :

    - Symfony
- AlterPHP\\Component\\Form\\Type\\EntityBitType

    Based on Symfony2 components, this field type provides the way to **store a collection of entities in a simple integer field/column**. It works the same as *EntityType* but takes and returns an integer that is the sum of each entity bitWeight value.

    bitWeight field is an integer indicating the power of two that is assigned to the entity and must be **unique**.

    This component has following dependencies :

    - Symfony
    - Doctrine
- AlterPHP\\Component\\HttpFoundation\\RedirectionResponseWithCookie

    Based on Symfony2 components, this class provides a simple RedirectResponse object with the ability to set cookies from the constructor.

    This component has following dependencies :

    - Symfony

Installation in a Symfony2 project
----------------------------------

[](#installation-in-a-symfony2-project)

Add following lines in the composer file :

```
"require": {
    ...,
    "alterphp/components": "1.1.*"

```

Then run :

```
composer --dev install

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

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 ~173 days

Total

3

Last Release

4362d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

1.1.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa4d5cdc3790b9d17039173539fd98d0963bd3a067e9c9ba6e1d24d39463de50?d=identicon)[alterphp](/maintainers/alterphp)

---

Top Contributors

[![alterphp](https://avatars.githubusercontent.com/u/738765?v=4)](https://github.com/alterphp "alterphp (18 commits)")

### Embed Badge

![Health badge](/badges/alterphp-components/health.svg)

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

###  Alternatives

[api-platform/doctrine-orm

Doctrine ORM bridge

243.1M39](/packages/api-platform-doctrine-orm)[anime-db/anime-db

The application for making home collection anime

252.1k2](/packages/anime-db-anime-db)

PHPackages © 2026

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