Packages from phdevutils

  • PHP

    phdevutils/banks

    Philippine bank & e-money registry with SWIFT/BIC codes and InstaPay/PESONet participation flags. Sourced from BSP/PCHC/BancNet/PDIC. Zero-dependency lookup helpers.

  • PHP

    phdevutils/bir

    BIR (Bureau of Internal Revenue) tax utilities for the Philippines — VAT (12% / ₱3M threshold), percentage tax (3% standing, with historical 1% rate awareness), and a reference list of commonly-used BIR forms.

  • PHP

    phdevutils/business

    Philippine SEC company/partnership registration-number validator and parser — recognizes the CS/CN/A/FS/FN/PG prefix + year + sequence formats and labels the entity type. Zero-dependency. Pairs with phdevutils/psic.

  • PHP

    phdevutils/core

    Filipino developer utilities — peso (incl. Tagalog number-words), government IDs (TIN/SSS/PhilHealth/Pag-IBIG/PhilSys National ID/UMID/passport/PRC), phone (parse + E.164 normalize), address (regions/provinces/cities/municipalities), and PH holidays (regular + special, with DOLE pay multipliers).

  • PHP

    phdevutils/dates

    Philippine date utilities — business-day arithmetic (PH holiday-aware) and Filipino (Tagalog) date formatting. Companion to phdevutils/core.

  • PHP

    phdevutils/faker

    Filipino-localized fake-data generator — names, addresses (regions/provinces/cities), phones, government IDs, peso amounts, businesses, PH holiday/working-day dates, and full payslip fixtures (uses phdevutils/payroll).

  • PHP

    phdevutils/geo

    Philippine geo utilities — representative coordinates for all PSGC cities/municipalities plus haversine distance, nearest-city, and within-radius helpers. Data from GeoNames (CC BY 4.0). Zero-dependency.

  • PHP

    phdevutils/payroll

    Filipino payroll calculators — SSS, PhilHealth, Pag-IBIG, 13th-month, BIR withholding tax for all 4 payroll periods (TRAIN), de minimis caps (RR 29-2025), ₱90k 13th-month/bonus exemption, net take-home. Versioned tables.

  • PHP

    phdevutils/postal

    Philippine ZIP/postal codes with zero-dependency lookup helpers. Joins to phdevutils/core cities/municipalities. Data from GeoNames (CC BY 4.0).

  • PHP

    phdevutils/psgc-barangays

    Complete PSGC barangay dataset for the Philippines (PSA Q4 2024, 42,046 entries) with zero-dependency lookup helpers. Joins to phdevutils/core cities/municipalities.

  • PHP

    phdevutils/psic

    Philippine Standard Industrial Classification (PSIC 2009) — 21 sections (A–U) and 88 divisions with lookup, validation, and search helpers. Data from the PSA/NSCB. Zero-dependency.