PHPackages                             chez14/unpar-npm-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. chez14/unpar-npm-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

chez14/unpar-npm-parser
=======================

Parahyangan Catholic University NPM Parser.

v0.2.8(6y ago)297MITPHP

Since Sep 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chez14/unpar-npm-parser-php)[ Packagist](https://packagist.org/packages/chez14/unpar-npm-parser)[ RSS](/packages/chez14-unpar-npm-parser/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (10)Used By (0)

NPM Parser for UNPAR
====================

[](#npm-parser-for-unpar)

[![Latest Stable Version](https://camo.githubusercontent.com/c3a766fb40c4cd39ca9fd8952f12b708e134056c55f4341f4409a52a1b6f5285/68747470733a2f2f706f7365722e707567782e6f72672f6368657a31342f756e7061722d6e706d2d7061727365722f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/chez14/unpar-npm-parser) [![Total Downloads](https://camo.githubusercontent.com/8878b544b9f50ac140f6adf875e54dd474aef9adfbaf3a6fed1eec6e8e0666cc/68747470733a2f2f706f7365722e707567782e6f72672f6368657a31342f756e7061722d6e706d2d7061727365722f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/chez14/unpar-npm-parser) [![Latest Unstable Version](https://camo.githubusercontent.com/99e2898017eb40475afc50cfc96ac6c9ac66f6ac8a0c6ab5b3edc29fac74ea86/68747470733a2f2f706f7365722e707567782e6f72672f6368657a31342f756e7061722d6e706d2d7061727365722f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/chez14/unpar-npm-parser) [![License](https://camo.githubusercontent.com/630ff7b6db61911213329cf3d066787f526cec19e647f42ca4e0fbda99bd13cd/68747470733a2f2f706f7365722e707567782e6f72672f6368657a31342f756e7061722d6e706d2d7061727365722f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/chez14/unpar-npm-parser)

UNPAR (Parahyangan Catholic University) recently got their system updated, so things like NPM got changed too. This will helps to parse the weirdness of those NPMs.

Features
--------

[](#features)

### Automaticly Parse NPM

[](#automaticly-parse-npm)

Despite of your enrollment year, we can distinguish your NPM format.

Example, my NPM, `2016730011`:

```
$npm_info = \Chez14\NpmParser\Solver::getInfo("2016730011");
var_dump($npm_info);
/*
array(7) {
  ["enrollment_year"]=>
  string(4) "2016"
  ["prodi_id"]=>
  string(3) "730"
  ["no_urut"]=>
  string(3) "011"
  ["jurusan"]=>
  string(18) "Teknik Informatika"
  ["fakultas_id"]=>
  string(1) "7"
  ["fakultas"]=>
  string(29) "Teknologi Informasi dan Sains"
  ["jenjang"]=>
  string(2) "S1"
}
*/
```

System Requirement
------------------

[](#system-requirement)

- PHP v7.2 or later.

Installation
------------

[](#installation)

### Composer

[](#composer)

Execute this:

```
$ composer require chez14/unpar-npm-parser
```

### Manual

[](#manual)

Include these files, please make sure they're sorted as is:

```
require 'src/exception/badenrollmentyear.php';
require 'src/exception/notparseable.php';
require 'src/solverinterface.php';
require 'src/solvers/npm1955.php';
require 'src/solvers/npm2018.php';
require 'src/npmmodel.php';
require 'src/solver.php';
```

API Info
--------

[](#api-info)

TBD

License
-------

[](#license)

[MIT](LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~0 days

Total

8

Last Release

2259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/daaabb160acffab2c30a9a14ba5c2d3c8da48d395af354a7378ac465751525d2?d=identicon)[chez14](/maintainers/chez14)

---

Top Contributors

[![chez14](https://avatars.githubusercontent.com/u/5555026?v=4)](https://github.com/chez14 "chez14 (29 commits)")

---

Tags

npmnpmparserparahyanganphpunparphpparsernpmunparparahyangannpmparser

### Embed Badge

![Health badge](/badges/chez14-unpar-npm-parser/health.svg)

```
[![Health](https://phpackages.com/badges/chez14-unpar-npm-parser/health.svg)](https://phpackages.com/packages/chez14-unpar-npm-parser)
```

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k902.6M1.8k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M118](/packages/doctrine-lexer)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1921.3M14](/packages/simplehtmldom-simplehtmldom)[corveda/php-sandbox

A PHP library that can be used to run PHP code in a sandboxed environment

23483.5k2](/packages/corveda-php-sandbox)[romanpitak/nginx-config-processor

Nginx configuration files processor.

7235.3k1](/packages/romanpitak-nginx-config-processor)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6115.6k](/packages/sbsaga-toon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
