PHPackages                             phpdk/pdk - 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. phpdk/pdk

ActiveLibrary

phpdk/pdk
=========

php development kit

0.1(8y ago)0100MITPHPPHP &gt;=7.1

Since Jul 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/php-dk/pdk)[ Packagist](https://packagist.org/packages/phpdk/pdk)[ RSS](/packages/phpdk-pdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![wercker status](https://camo.githubusercontent.com/68fcbe8a6bd40e923ff091fe59445989ccd1af75b6c406df1b6e7549668d3926/68747470733a2f2f6170702e776572636b65722e636f6d2f7374617475732f66306438363133386164343233346266306463663432353937626562633038382f732f6d6173746572 "wercker status")](https://app.wercker.com/project/byKey/f0d86138ad4234bf0dcf42597bebc088)

PHP Development Kit
===================

[](#php-development-kit)

more information [in wiki](https://github.com/php-dk/pdk/wiki)

Lang (pdk\\lang\*)
------------------

[](#lang-pdklang)

### Integer (pdk\\lang\\TInt)

[](#integer-pdklangtint)

```
      $int = new TInt(1);
      $int->getValue(); // return int 1
      TInt::instanceof(1); //true
      TInt::instanceof(new TInt(1)); //true
      TInt::instanceof('1'); //false

      //compare
      $int = new TInt(5);
      static::assertTrue($int->equals(5));
      static::assertTrue($int->less(6));
      static::assertTrue($int->lessEquals(5));
      static::assertTrue($int->more(4));
      static::assertTrue($int->moreEquals(5));
      static::assertTrue($int->equals(new TInt(5)));
      static::assertTrue($int->less(new TInt(6)));
      static::assertTrue($int->lessEquals(new TInt(5)));
      static::assertTrue($int->more(new TInt(4)));
      static::assertTrue($int->moreEquals(new TInt(5)));
      static::assertFalse($int->equals('5'));
      static::assertFalse($int->equals(new TString('5')));
```

### TString

[](#tstring)

```
       $string = new TString("hello world");
       [$hello, $world]  = $string->split(' ');
```

### TArray

[](#tarray)

```
       $array = (new TArray(['1', '2', '3']))->map(function() {
             //foreach
       });

       $array = (new TArray(['1', '2', '3']))->filter(function() {
             //foreach
       });
```

Utils
=====

[](#utils)

Collection (pdk\\util\*)
------------------------

[](#collection-pdkutil)

### TList

[](#tlist)

```
      $collection = new TList(A::class);
      $collection = TList::new(A::class, [...]);

      #scalar
      $list = new TList(TInt::class);
      $list->add(new TInt(0));
      $list->add(1);
      $list->add(2);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/791ec7bfcc4ae47ccacfb92b8e281c6b8a03f158bde061de5084442191cf2b02?d=identicon)[dimajolkin](/maintainers/dimajolkin)

---

Top Contributors

[![dimajolkin](https://avatars.githubusercontent.com/u/7441874?v=4)](https://github.com/dimajolkin "dimajolkin (31 commits)")

---

Tags

pdk-langphpphpdevelopmentkit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpdk-pdk/health.svg)

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

###  Alternatives

[fuel/fuel

FuelPHP is a simple, flexible, community driven PHP 5.4+ framework, based on the best ideas of other frameworks, with a fresh start!

1.5k42.3k](/packages/fuel-fuel)[cable8mm/water-melon

Water Melon is simple melon.com api sdk for php

182.7k](/packages/cable8mm-water-melon)

PHPackages © 2026

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