PHPackages                             tuijncode/version - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tuijncode/version

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tuijncode/version
=================

Version

v2.2.1(1y ago)061MITPHPPHP &gt;=8.1.0

Since Oct 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tuijncode/version)[ Packagist](https://packagist.org/packages/tuijncode/version)[ RSS](/packages/tuijncode-version/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (4)Used By (0)

Version
=======

[](#version)

[![Total Downloads](https://camo.githubusercontent.com/5461e773613d416951ecb22f99df74aa5889d09a906206557696fc699ca92135/68747470733a2f2f706f7365722e707567782e6f72672f7475696a6e636f64652f76657273696f6e2f642f746f74616c2e737667)](https://packagist.org/packages/tuijncode/version)[![Latest Stable Version](https://camo.githubusercontent.com/e483dca44dd885865d4f9e232bedfbe32a0a17e1a1034ffb350852de8f224a2d/68747470733a2f2f706f7365722e707567782e6f72672f7475696a6e636f64652f76657273696f6e2f762f737461626c652e737667)](https://packagist.org/packages/tuijncode/version)[![License](https://camo.githubusercontent.com/8255ca22c968d34784229976f29e3f6614b8815dba4cf10d895f3c2a2abb24f4/68747470733a2f2f706f7365722e707567782e6f72672f7475696a6e636f64652f76657273696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/tuijncode/version)

[![Html](https://camo.githubusercontent.com/4c056ba7ebfdfb9fc03053184d65a86029981fce4d3bac9058dd56578fcbcf8e/68747470733a2f2f63646e2e7475696a6e636f64652e636f6d2f6769746875622f76657273696f6e2e706e67)](https://camo.githubusercontent.com/4c056ba7ebfdfb9fc03053184d65a86029981fce4d3bac9058dd56578fcbcf8e/68747470733a2f2f63646e2e7475696a6e636f64652e636f6d2f6769746875622f76657273696f6e2e706e67)

With Version, you can retrieve various versions within your project, which is particularly useful if you have multiple projects and need to identify which ones require updates.

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/davidvandertuijn)

Releases
--------

[](#releases)

ReleasePHPv1.x7.2.0v2.x8.1.0Install
-------

[](#install)

Install the package via Composer:

```
composer require tuijncode/version
```

Add your token to the .env file:

```
TUIJNCODE_VERSION_TOKEN="your-token"

```

Additionally, add the following components to the .env file if you want to check the database:

```
TUIJNCODE_VERSION_PDO_DSN="your-dsn"
TUIJNCODE_VERSION_PDO_USERNAME="your-username"
TUIJNCODE_VERSION_PDO_PASSWORD="your-password"

```

Use one of the following options for DSN:

Database TypeDSN FormatMySQL/MariaDB`mysql:host=localhost;dbname=your_database`PostgreSQL`pgsql:host=localhost;dbname=your_database`SQLite`sqlite:/path/to/database.db`SQL Server`sqlsrv:Server=localhost;Database=your_database`Add the PHP file **version.php**:

```

```

Usage
-----

[](#usage)

Response (JSON)
---------------

[](#response-json)

```
{
    "status": "OK",
    "versions":
        {
            "webserver":
            {
                "name": "Apache",
                "version": "Apache\/2.4.58 (Unix) mod_wsgi\/4.9.4 Python\/3.11 mod_fastcgi\/mod_fastcgi-SNAP-0910052141 OpenSSL\/1.1.1u"
            },
            "database":
            {
                "name": "mysql",
                "version": "8.0.35"
            },
            "php":
            {
                "name": "cgi-fcgi",
                "version": "8.2.20"
            }
        }
}
```

Dashboard
---------

[](#dashboard)

Would you like to view all your projects in an online dashboard? We have successfully developed this solution and also offer installation support.

[![Html](https://camo.githubusercontent.com/f4649e60663315a7e522ec81028e938e806d07e994fb9c569e9eeca39241d1df/687474703a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f736f6c7574696f6e732f76657273696f6e732f7468756d626e61696c732f76657273696f6e732e383030783630302e706e67)](https://camo.githubusercontent.com/f4649e60663315a7e522ec81028e938e806d07e994fb9c569e9eeca39241d1df/687474703a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f736f6c7574696f6e732f76657273696f6e732f7468756d626e61696c732f76657273696f6e732e383030783630302e706e67)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~8 days

Total

3

Last Release

557d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8904bedce7fb2ec131c0d18c13aeaa82b00af2fd03ebe099886ac462b1d29e?d=identicon)[davidvandertuijn](/maintainers/davidvandertuijn)

---

Top Contributors

[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (20 commits)")

### Embed Badge

![Health badge](/badges/tuijncode-version/health.svg)

```
[![Health](https://phpackages.com/badges/tuijncode-version/health.svg)](https://phpackages.com/packages/tuijncode-version)
```

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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