Download the PHP package innonazarene/dbm-salary-grade-parser without Composer

On this page you can find all versions of the php package innonazarene/dbm-salary-grade-parser. 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 dbm-salary-grade-parser

dbm-salary-grade-parser

Tests

Philippine Government Salary Grade schedule as a PHP library.

Data source: National Budget Circular No. 601 (2026) — Department of Budget and Management (DBM).


Requirements

Installation


Usage

Parse a salary schedule PDF

Parse from raw text (if you already extracted it)

Extract text from PDF only

How extraction works

  1. PdfExtractor::extract() — reads the PDF using smalot/pdfparser and reconstructs the table rows mathematically based on the exact [X, Y] coordinates of the text on the page!
  2. SalaryGradeParser::parse() — scans each line, finds rows that start with a grade number (1–30) followed by salary amounts in the ₱10,000–₱999,999 range, validates that steps are ascending, and returns a clean array

Using the static schedule (no PDF needed)


Laravel Integration Example (Step-by-Step Workflow)

This package is designed to easily integrate into Laravel applications. Below is the complete structure and workflow for a system where users can upload a PDF, download a generated CSV for review, and upload the reviewed CSV back to the system to be saved.

1. Database Migration

Create a table to store the salary tranche data:

2. Eloquent Model

Ensure your model casts the parsed_data column to an array so Laravel automatically handles the JSON serialization:

3. API Routes

Define the endpoints for uploading PDFs, downloading the generated CSV, and uploading the final reviewed CSV:

4. Controller Logic

Create the controller to tie it all together:


Salary Schedule (NBC No. 601 — 2026)

SG Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8
1 14,061 14,164 14,278 14,393 14,509 14,626 14,743 14,862
2 14,925 15,035 15,146 15,258 15,371 15,484 15,599 15,714
3 15,852 15,971 16,088 16,208 16,329 16,448 16,571 16,693
4 16,833 16,958 17,084 17,209 17,337 17,464 17,594 17,724
5 17,866 18,000 18,133 18,267 18,401 18,538 18,676 18,813
6 18,957 19,098 19,239 19,383 19,526 19,670 19,816 19,963
7 20,110 20,258 20,408 20,560 20,711 20,865 21,019 21,175
8 21,448 21,642 21,839 22,035 22,234 22,435 22,638 22,843
9 23,226 23,411 23,599 23,788 23,978 24,170 24,364 24,558
10 25,586 25,790 25,996 26,203 26,412 26,623 26,835 27,050
11 30,024 30,308 30,597 30,889 31,185 31,486 31,790 32,099
12 32,245 32,529 32,817 33,108 33,403 33,702 34,004 34,310
13 34,421 34,733 35,049 35,369 35,694 36,022 36,354 36,691
14 37,024 37,384 37,749 38,118 38,491 38,869 39,252 39,640
15 40,208 40,604 41,006 41,413 41,824 42,241 42,662 43,090
16 43,560 43,996 44,438 44,885 45,338 45,796 46,261 46,730
17 47,247 47,727 48,213 48,705 49,203 49,708 50,218 50,735
18 51,304 51,832 52,367 52,907 53,456 54,010 54,572 55,140
19 56,390 57,165 57,953 58,753 59,567 60,394 61,235 62,089
20 62,967 63,842 64,732 65,637 66,557 67,479 68,409 69,342
21 70,013 71,000 72,004 73,024 74,061 75,115 76,151 77,239
22 78,162 79,277 80,411 81,564 82,735 83,887 85,096 86,324
23 87,315 88,574 89,855 91,163 92,592 94,043 95,518 96,955
24 98,185 99,721 101,283 102,871 104,483 106,123 107,739 109,431
25 111,727 113,476 115,254 117,062 118,899 120,766 122,664 124,591
26 126,252 128,228 130,238 132,280 134,356 136,465 138,608 140,788
27 142,663 144,897 147,169 149,407 151,752 153,850 156,267 158,723
28 160,469 162,988 165,548 167,994 170,634 173,320 175,803 178,572
29 180,492 183,332 186,218 189,151 192,131 194,797 197,870 200,993
30 203,200 206,401 209,558 212,766 216,022 219,434 222,797 226,319

Running Tests


License

MIT. See LICENSE.


All versions of dbm-salary-grade-parser with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
smalot/pdfparser Version ^2.12
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 innonazarene/dbm-salary-grade-parser contains the following files

Loading the files please wait ...