Skip to content

A PHP library for working with data associated with the United States Federal Poverty Level (FPL). Household income, as a percentage of FPL is often used to determine eligibility for government assistance programs such as Medicaid.

License

Notifications You must be signed in to change notification settings

johnkramlich/federal-poverty-level

Repository files navigation

federalPovertyLevel

A PHP library for working with data associated with the United States Federal Poverty Level (FPL). Household income, as a percentage of FPL is often used to determine eligibility for government assistance programs such as Medicaid.

More information about the Federal Poverty Limit can be found here.

$fpl = new FederalPovertyLevel();

$fpl->setYear(2014)
    ->setState('MO')
    ->setPersonsInHousehold(2)
    ->setHouseholdIncome(15000);


// Get Household's percentage of Federal Poverty Level
$percentageOfFpl = $fpl->getPovertyGuidelineAsPercentage(); // e.g. 50

// Get Household's percentage of Federal Poverty Level as decimal
$percentageOfFpl = $fpl->getPovertyGuidelineAsDecimal(); // e.g. 0.5
## Installation
  1. federalPovertyLevel is available on Packagist.

  2. It can be installed as a dependency of your project by running

     $ composer require-dev johnkramlich/federal-poverty-level
    
## Author

John Kramlich - me@johnkramlich.com - http://twitter.com/jkramlich

If you use this library please send me an email / tweet and let me know. I always like to know when my code is useful to others.

## License

federalPovertyLevel is licensed under the MIT License - see the LICENSE file for details

About

A PHP library for working with data associated with the United States Federal Poverty Level (FPL). Household income, as a percentage of FPL is often used to determine eligibility for government assistance programs such as Medicaid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages