kigkonsult / asit
Asit manages array collections, extends Iterator with (assoc) get-/set- and tag-methods
Requires
- php: >=8.0
Requires (Dev)
- degraciamathieu/php-arguments-detector: >=0.5.0
- phpcompatibility/php-compatibility: >=9.3.5
- phpstan/phpstan: >=0.9.3
- phpunit/phpunit: >=6.5.14
- squizlabs/php_codesniffer: >=3.5.5
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