PHPackages                             mahelbir/ipv6gen - 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. mahelbir/ipv6gen

ActiveLibrary

mahelbir/ipv6gen
================

Random IPv6 Address Generator with Subnet

2.1(2y ago)014MITPHPPHP &gt;=7.1

Since Nov 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mahelbir/ipv6gen)[ Packagist](https://packagist.org/packages/mahelbir/ipv6gen)[ Docs](https://github.com/mahelbir/ipv6gen)[ RSS](/packages/mahelbir-ipv6gen/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Ipv6Gen
=======

[](#ipv6gen)

[![Latest version](https://camo.githubusercontent.com/e475cbd93ece55064f44758055d66dbc7142cf7ba95c7214b0a3cfeb7bf7ff2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6168656c6269722f6970763667656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mahelbir/ipv6gen)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Ipv6Gen is a random IPv6 address generator by subnet.

This tool is tailored for network testing and configuration, offering a straightforward solution for generating subnet-specific IPv6 addresses efficiently.

Requirements
------------

[](#requirements)

PHP 7.1+

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

[](#installation)

Simply add a dependency on `mahelbir/ipv6gen` to your composer.json file if you use [Composer](https://getcomposer.org/) to manage the dependencies of your project:

```
composer require mahelbir/ipv6gen
```

Although it's recommended to use Composer, you can actually include files anyway you want.

Usage
-----

[](#usage)

```
$generator = new \Mahelbir\Ipv6Gen('ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', 64);
echo $generator->getIP(); # ffff:ffff:ffff:ffff:b7e4:e549:5173:484d

$generator = new \Mahelbir\Ipv6Gen('ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', 32);
print_r($generator->getIPs(5));
/*
    (
        [0] => ffff:ffff:ecad:7759:29d8:ac05:07b6:56d7
        [1] => ffff:ffff:4f98:df9f:b796:651e:3bff:f71e
        [2] => ffff:ffff:8e6f:b966:9f0c:6650:ba59:9ccf
        [3] => ffff:ffff:2b46:81fb:d078:ad16:06e3:c98e
        [4] => ffff:ffff:cd95:15f0:111e:4c70:dbfd:64ba
    )
 */
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

21

↓

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

3

Last Release

734d ago

Major Versions

1.0 → 2.02024-01-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c0965430562c2a6f1689857fc08880801173f93c925b21da9aa9eb713bdaa7d?d=identicon)[mahelbir](/maintainers/mahelbir)

---

Top Contributors

[![mahelbir](https://avatars.githubusercontent.com/u/38813597?v=4)](https://github.com/mahelbir "mahelbir (3 commits)")

### Embed Badge

![Health badge](/badges/mahelbir-ipv6gen/health.svg)

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

PHPackages © 2026

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