PHPackages                             activecollab/utils - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. activecollab/utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

activecollab/utils
==================

A collection of small, useful components

3.1.0(1y ago)064.8k↓33.3%[1 PRs](https://github.com/activecollab/utils/pulls)3MITPHPPHP &gt;=8.2

Since Nov 13Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (14)Used By (3)

Utils
=====

[](#utils)

[![Build Status](https://camo.githubusercontent.com/302e7d9f61b9e00333d4b443b5fb1ad8e24c6f64babefef17ad32e7edf25a340/68747470733a2f2f7472617669732d63692e6f72672f616374697665636f6c6c61622f7574696c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/activecollab/utils)

This package is a playground for "little" PHP utilities that we use every day. They are not complex or big enough to justify a separate package, but they are useful, and they may grow up to be full-blown packages one day. That's the reason why they are all namespaced as directly under `ActiveCollab` namespace, not `ActiveCollab\Utils`.

What's Inside
-------------

[](#whats-inside)

1. [Class Finder](#class-finder)
2. [Config Loader](#config-loader)
3. [Cookies](#cookies)
4. [Current Timestamp](#current-timestamp)
5. [Encryptor](#encryptor)
6. [Firewall](#firewall)
7. [JSON](#json)
8. [Value Container](#value-container)
9. [URL](#url)

### Class Finder

[](#class-finder)

`ActiveCollab\ClassFinder\ClassFinderInterface` - This interface and its implementation provide an easy way to scan directory for classes that extend specified classes, and optional instantination of objects of these classes. It's useful for automatic discovery of command classes in CLI applications, controllers, components, etc.

```
