PHPackages                             zisunal/php-extended - 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. zisunal/php-extended

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

zisunal/php-extended
====================

zisunal/php-extended is the ultimate PHP array, currency, string, and number helper library, combining every native PHP array, currency, string and number feature with dozens of powerful, developer-friendly enhancements in one modern, consistent API.

10PHP

Since Jul 20Pushed 4w agoCompare

[ Source](https://github.com/zisunal/php-extended)[ Packagist](https://packagist.org/packages/zisunal/php-extended)[ RSS](/packages/zisunal-php-extended/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![php-extended](https://private-user-images.githubusercontent.com/60127208/623881092-ce1b3b42-3897-4a73-b8c7-7a28ce04aa20.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODYzNjEwMjQsIm5iZiI6MTc4NjM2MDcyNCwicGF0aCI6Ii82MDEyNzIwOC82MjM4ODEwOTItY2UxYjNiNDItMzg5Ny00YTczLWI4YzctN2EyOGNlMDRhYTIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwODEwVDExMTg0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0OTNkOGIxOTg5NzFlNDI4MDY5ZjA5NDdiMzFlYjU0YTFlOTA1NGNiMTAzZDVlM2EyYjhmY2M5MzdhODBiMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.HP-erS_fyI3uW3ExI6N2cr4FNc5g8WNZgQMXGAsb9DA)](https://private-user-images.githubusercontent.com/60127208/623881092-ce1b3b42-3897-4a73-b8c7-7a28ce04aa20.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODYzNjEwMjQsIm5iZiI6MTc4NjM2MDcyNCwicGF0aCI6Ii82MDEyNzIwOC82MjM4ODEwOTItY2UxYjNiNDItMzg5Ny00YTczLWI4YzctN2EyOGNlMDRhYTIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwODEwVDExMTg0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0OTNkOGIxOTg5NzFlNDI4MDY5ZjA5NDdiMzFlYjU0YTFlOTA1NGNiMTAzZDVlM2EyYjhmY2M5MzdhODBiMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.HP-erS_fyI3uW3ExI6N2cr4FNc5g8WNZgQMXGAsb9DA)\# Zisunal PHP Extended A modern, flexible PHP utility library.

1. `_Array` Implements the [`ArrayInterface`](./src/Interfaces/ArrayInterface.php).
2. `Currency` Implements the [`CurrencyInterface`](./src/Interfaces/CurrencyInterface.php).
3. `String` is under construction
4. `Number` is under construction

---

✨ Features
----------

[](#-features)

- Consistent, object-oriented array, currency, string and number manipulation
- Type-safe methods
- Extensible interface for custom utilities

---

🚀 Quick Start
-------------

[](#-quick-start)

```
composer require zisunal/php-extended
```

#### To use the `_Array` type:

[](#to-use-the-_array-type)

```
use Zisunal\PhpExtended\_Array;

$array = new _Array([1, 2, 3]);
$array->add(4)->add(5)->remove(3)->concat(new _Array()->populate(15))->shuffle();
print_r($array->all());
echo $array->random();
echo $array->toString();
echo $array->toJson();
```

#### To use the `Currency` type:

[](#to-use-the-currency-type)

```
use Zisunal\PhpExtended\Currency;

$taka = new Currency('Bangladeshi Taka', 'BDT', '৳', 0.008);
$pound = new Currency('Pound Sterling', 'GBP', '£', 1.35);
$taka->add_transaction(1500)->add_transaction(500, false)->convert_to($pound, $taka->balance());
```

You can use most of the required methods as chain. Example:
-----------------------------------------------------------

[](#you-can-use-most-of-the-required-methods-as-chain-example)

```
$array = new _Array();
$array->populate(15)->shuffle()->reverse()->random();
```

### The above code will do 4 operations to an empty array:

[](#the-above-code-will-do-4-operations-to-an-empty-array)

1. Populate the array with digits from 1 to 15
2. Randomize the array values
3. Reverse the randomized array
4. Take a random value from the reversed randomized array

📚 Documentation
---------------

[](#-documentation)

### `String` and `Number` are under construction

[](#string-and-number-are-under-construction)

- [Documentation for `_Array`](./docs/_Array.md)
- [Documentation for `Currency`](./docs/Currency.md)

---

🛠️ Contributing
---------------

[](#️-contributing)

### Contribution always makes the life easier and the earth happier. To contribute, please follow:

[](#contribution-always-makes-the-life-easier-and-the-earth-happier-to-contribute-please-follow)

1. Fork the repository
2. Add/Update features
3. Test all of your codes
4. Create a feature branch
5. Submit a pull request

---

📄 License
---------

[](#-license)

MIT. See the license details here: [License](./license.md)

---

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance62

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/60127208?v=4)[MD Al Fariya Zisun](/maintainers/zisunal)[@zisunal](https://github.com/zisunal)

---

Top Contributors

[![zisunal](https://avatars.githubusercontent.com/u/60127208?v=4)](https://github.com/zisunal "zisunal (15 commits)")

---

Tags

arraynumberstring

### Embed Badge

![Health badge](/badges/zisunal-php-extended/health.svg)

```
[![Health](https://phpackages.com/badges/zisunal-php-extended/health.svg)](https://phpackages.com/packages/zisunal-php-extended)
```

###  Alternatives

[consolidation/site-alias

Manage alias records for local and remote sites.

6053.2M31](/packages/consolidation-site-alias)

PHPackages © 2026

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