Skip to content

publishing-kit/utilities

Repository files navigation

utilities

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

PublishingKit/Utilities is a set of utility classes, including:

  • A collection class
  • A lazy collection class
  • A string class

Install

Via Composer

$ composer require publishing-kit/utilities

Usage

$coll = new PublishingKit\Utilities\Collections\Collection([]);
$lazy = new PublishingKit\Utilities\Collections\LazyCollection(function () {
    for ($i = 0; $i < 5; $i++) {
        yield $i;
    }
});
$str = new PublishingKit\Utilities\Str('foo');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PHP utility classes

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages