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 {}
-
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
Donations using buy me a coffee or paypal me are appreciated. For invoice, please e-mail.
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';
For support go to github.com Asit
This project is licensed under the LGPLv3 License