PHPackages                             drlenux/large-array - 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. drlenux/large-array

ActiveLibrary

drlenux/large-array
===================

Array for big data, big array, large array, memory array

1.1.1(2y ago)1121MITPHPPHP &gt;5.6

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/drlenux/LargeArray)[ Packagist](https://packagist.org/packages/drlenux/large-array)[ RSS](/packages/drlenux-large-array/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (1)

Large Array
===========

[](#large-array)

[![Latest Version](https://camo.githubusercontent.com/37bff5579a86e885f6c41ed0af9846643e1f2b53fcedcb61fbb4002af181b64b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64726c656e75782f6c617267652d61727261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vendor/package-name)[![Total Downloads](https://camo.githubusercontent.com/24d16a5ba9f5f3096ea4453be9688d25017b5c3e1d51457037cc442c2a9ef857/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64726c656e75782f6c617267652d61727261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vendor/package-name)

PHP Array Implementation with SQLite3
-------------------------------------

[](#php-array-implementation-with-sqlite3)

Designed for storing large datasets as an array.

Please note: If you have a very large array, consider reevaluating your architecture rather than using this code. Use this library only in exceptional cases.

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

[](#installation)

You can install this package via Composer:

```
composer require drlenux/large-array
```

Usage
-----

[](#usage)

```
use Drlenux\LargeArray\LargeArray;

$array = new LargeArray(/** optional salt **/);
$array = new LargeArray('for report');

for ($i = 0; $i < 1_000_000; $i++) $array[] = $i;
$array['test'] = 'test value';
$array['sub']['array'] = true; // don't use, 'cause return null
$array['sub'] = ['array' => true]; // it's correct

$array->in(5000); // result: true [instead of in_array]
$array[5000] // result: 5000
$array['test'] // result: test value
```

*LargeArray* use interface ArrayAccess, Countable, Iterator

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

This package is open-source software licensed under the MIT license.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

Total

5

Last Release

925d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4096e2566a1a8d7890dd378015341b23899df5197bd6a10db66390d2d3d38e02?d=identicon)[drlenux](/maintainers/drlenux)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/drlenux-large-array/health.svg)

```
[![Health](https://phpackages.com/badges/drlenux-large-array/health.svg)](https://phpackages.com/packages/drlenux-large-array)
```

PHPackages © 2026

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