2017 © Pedro Peláez
 

class fica-php

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

image

fcosrno/fica-php

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

  • Tuesday, October 14, 2014
  • by fcosrno
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Fica

PHP class to return Social Security and Medicare amounts from a given number., (*1)

Example

There is a working example in example/index.php, (*2)

Installation

composer require fcosrno/fica-php

Usage

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

$fica = new Fica(2000);

Get FICA amount (Social Security plus Medicare)., (*4)

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

Get Social Security amount., (*5)

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

Get Medicare amount., (*6)

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

Tests

composer install
vendor/bin/phpspec run -f pretty

The Versions

14/10 2014

dev-master

9999999-dev

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

  Sources   Download

MIT

The Development Requires

by Francisco Serrano

tax fica social security medicare

14/10 2014

v0.0.1

0.0.1.0

  Sources   Download

The Development Requires