Asit manages array collections, extends Iterator with (assoc) get-/set- and tag-methods

Fund package maintenance!
Other
Other

v2.4 2024-05-05 08:12 UTC

This package is auto-updated.

Last update: 2024-12-05 09:32:39 UTC


README

The Asit package manages class (array) collection of elements extending the Iterator interface.

  • no, single or multi primary (assoc) keys
  • (multi-)label collection elements using tags
  • no or specified collection (list) element value type
  • simple class usage: class MyClass extend Asit {}
Base classes summary
  • Overview summary here.

  • It - collection of elements

  • Asit/Asmit - assoc collection of elements, opt multi key

  • Asittag/Asmittag - as above but with tags

  • It/Asit/Asmit/Asitag/AsmitagList - as above but with spec. collection element valueType

Sponsorship

Donations using buy me a coffee or paypal me are appreciated. For invoice, please e-mail.

INSTALL
composer require kigkonsult/asit:dev-master

Composer, in your composer.json:

{
    "require": {
        "kigkonsult/asit": "dev-master"
    }
}

Version >=2.2.x supports PHP 8.0, 2.0 7.4, 1.8.2 7.0.

Composer, acquire access

use Kigkonsult\Asit\Asit;
...
include 'vendor/autoload.php';

Otherwise , download and acquire

use Kigkonsult\Asit\Asit;
...
include 'pathToSource/kigkonsult/Asit/autoload.php';
Support

For support go to github.com Asit

License

This project is licensed under the LGPLv3 License