Download the PHP package phdevutils/bir without Composer

On this page you can find all versions of the php package phdevutils/bir. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bir

phdevutils/bir

Packagist version npm version License: MIT Made in PH

BIR (Bureau of Internal Revenue) tax utilities for the Philippines — VAT, percentage tax, and a reference list of common BIR forms. PHP + JavaScript, MIT-licensed.

Companion to phdevutils/payroll, which covers the employee side (SSS / PhilHealth / Pag-IBIG / 13th-month / BIR withholding tax on compensation). This package covers the non-employee side: VAT on goods and services, percentage tax for small non-VAT businesses, and form references.

PHP usage

JS usage

A parity JavaScript/TypeScript package is published as @ph-dev-utils/bir:

What's verified for v0.1

Capability Rate / Value Legal basis Effective
VAT rate 12% RA 9337 2005-11-01
VAT threshold ₱3,000,000 TRAIN RA 10963 2018-01-01
Percentage tax 3% Tax Code § 116 reverted 2023-07-01
Percentage tax (historical) 1% RA 11534 (CREATE) 2020-07-01 → 2023-06-30
Form 2550M supersession retired EOPT Act RA 11976 2024-01-22

Each rate is sourced to the originating Republic Act (Lawphil text), with _meta on each data file recording source, source_url, verified_on, and effective_from.

⚠️ Disclaimer

Real-money tax math. Verify outputs against official BIR calculators before production use. PRs welcome for additions, corrections, and EWT/DST/ATC contributions.

License

MIT


All versions of bir with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package phdevutils/bir contains the following files

Loading the files please wait ...