PHPackages                             fcosrno/fica-php - 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. fcosrno/fica-php

ActiveClass

fcosrno/fica-php
================

PHP class to return Social Security and Medicare amounts from a give number.

v0.0.1(11y ago)115PHP

Since Oct 14Pushed 11y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Fica
====

[](#fica)

PHP class to return Social Security and Medicare amounts from a given number.

Example
-------

[](#example)

There is a working example in example/index.php

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

[](#installation)

```
composer require fcosrno/fica-php

```

Usage
-----

[](#usage)

Instantiate the class passing an amount (in cents). An exception is thrown if the amount is not an integer.

```
$fica = new Fica(2000);

```

Get FICA amount (Social Security plus Medicare).

```
$fica->getFica(); // Returns 153 (cents)

```

Get Social Security amount.

```
$fica->getSocialSecurity(); // Returns 124 (cents)

```

Get Medicare amount.

```
$fica->getMedicare(); // Returns 29 (cents)

```

Tests
-----

[](#tests)

```
composer install
vendor/bin/phpspec run -f pretty

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4226d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fcosrno-fica-php/health.svg)

```
[![Health](https://phpackages.com/badges/fcosrno-fica-php/health.svg)](https://phpackages.com/packages/fcosrno-fica-php)
```

PHPackages © 2026

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