PHPackages                             mistralys/application-utils-core - 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. mistralys/application-utils-core

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

mistralys/application-utils-core
================================

Drop-in utilities for PHP applications.

2.5.1(1mo ago)181.1k↓16.1%11MITPHPPHP &gt;=8.4

Since Oct 13Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/Mistralys/application-utils-core)[ Packagist](https://packagist.org/packages/mistralys/application-utils-core)[ RSS](/packages/mistralys-application-utils-core/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (10)Versions (40)Used By (11)

AppUtils Core
=============

[](#apputils-core)

Core classes and interfaces for the Application Utils ecology of libraries. This package contains all most low-level classes and interfaces that are interconnected and cannot be separated into their own packages.

See [companion libraries](#companion-libraries) for related tools.

Requirements
------------

[](#requirements)

- PHP 8.4 or higher.
- [Composer](https://getcomposer.org/) for installation and autoloading.
- Extensions: `json`, `mbstring`, `curl`, `ctype`, `libxml`, `dom`, `gd`.

Components
----------

[](#components)

### PHP classes

[](#php-classes)

- `ClassHelper` - Static methods for class checking, loading and filtering.
    - `ClassRepository` - Dynamic class loading and caching.
- `PHPClassInfo` - Information about a PHP class without using reflection.

### File system

[](#file-system)

- `FileHelper` - Static method for general file system manipulations.
- `FileFinder` - Search for and filter files.
- `FileInfo` - File information and manipulation.
    - `JSONFile` - Specialized JSON file handling.
    - `PHPFile` - Specialized PHP file handling.
    - `SerializedFile` - Specialized serialized (via `serialize()`) file handling.
- `FolderInfo` - Folder information and manipulation.
- `FolderFinder` - Search for and filter folders.
- `FolderTree` - Static method to manipulate entire folder trees.
- `PathRelativizer` - Relativize paths between two folders.
- `PathsReducer` - Reduce a list of paths to the shortest possible form.
- `MimeTypes` - Database of mime types and helper methods.

### Data structures

[](#data-structures)

- `ArrayDataCollection` - Type-safe associative array handling.
    - `ArrayDataObservable` - Observable version of `ArrayDataCollection` to track changes.
- `NumberInfo` - Parse numbers, access and manipulate units and component parts.
- `URLInfo` - Parse and manipulate URLs.
- `ThrowableInfo` - Extended `Throwable` information with serialization and unserialization.
- `VariableInfo` - Extended information on any PHP variable.

### Strings

[](#strings)

- `HiddenConverter` - Debug pesky invisible characters.
- [Highlighter](/src/Highlighter/README.md) - Syntax highlighting utility.
- `OutputBuffering` - Object-oriented output buffering with exception error handling.
- `QueryParser` - Query string parser that eliminates the `parse_str` pitfalls.
- `StringBuilder` - Concatenate strings and HTML tags in many ways.
- `StringHelper` - Collection of static string manipulation methods.
- `StringMatch` - String matching and manipulation.
- `Stringable` - Interface and trait for objects that can be converted to strings.
- `TabsNormalizer` - Normalize tabs in strings.
- `Transliteration` - Convert strings to ASCII.
- `WordSplitter` - Split words in strings.
- `WordWrapper` - Wrap texts.

### HTML markup

[](#html-markup)

- `HTMLHelper` - Static methods for HTML markup generation.
- `HTMLTag` - Object-oriented HTML tag creation.
- `AttributeCollection` - Object-oriented HTML attribute handling.
- `StylesCollection` - Object-oriented CSS style handling.
- `Attributable` - Interface and trait for objects that can have attributes.
- `Classable` - Interface and trait for objects that can have classes.
- `Optionable` - Interface and trait for objects that can have options.
- `Renderable` - Interface and trait for objects that can be rendered.
- `Stylable` - Interface and trait for objects that can have styles.

### Date and time

[](#date-and-time)

- `DateTimeHelper` - Static conversion and helper methods for date and time handling.
- `Microtime` - DateTime extension that can handle micro- and nanoseconds.
- `DateIntervalExtended` - Wrapper for the native PHP class with QoL methods.
- `DaytimeStringInfo` - Parses and validates daytime strings, e.g. `14:30`.
- `DurationConverter` - Convert date and time durations.
- `DurationStringInfo` - Parse and manipulate standardized duration strings, e.g. `1h 30m`.
- `IntervalConverter` - Convert date intervals.
- `TimeDurationCalculator` - Fill out missing values between start time, end time and duration.

### Colors

[](#colors)

- `RGBAColor` - Class for RGB and alpha color handling and manipulation.
- `HSVColor` - Class for HSV-based color handling and manipulation.

Companion libraries
-------------------

[](#companion-libraries)

This package is part of a larger ecology of libraries, of which it is the core component. The following companion libraries are available:

- [application-utils](https://github.com/Mistralys/application-utils) - The main package with the full feature set.
- [application-utils-collections](https://github.com/Mistralys/application-utils-collections) - Interfaces, traits and classes for handling item collections or enums.
- [application-utils-events](https://github.com/Mistralys/application-utils-events) - Library with event handling classes, interfaces and traits.
- [application-utils-image](https://github.com/Mistralys/application-utils-image) - Image manipulation library for basic image operations and color management.
- [application-utils-result-handling](https://github.com/Mistralys/application-utils-result-handling) - Classes used to store information on the results of application operations.
- [application-framework](https://github.com/Mistralys/application-framework) - Application framework for building web applications.
- [application-localization](https://github.com/Mistralys/application-localization) - Localization and internationalization library.
- [application-datagrids](https://github.com/Mistralys/application-datagrids) - Object-oriented HTML table abstraction.

Documentation
-------------

[](#documentation)

As a general rule, I try to document as much as possible in the code itself. All other documentation can be found in the AppUtils wiki:

[mistralys/application-utils wiki](https://github.com/Mistralys/application-utils/wiki)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~48 days

Total

39

Last Release

31d ago

Major Versions

1.2.2 → 2.2.32024-07-25

PHP version history (2 changes)1.0.0PHP &gt;=7.4

2.4.0PHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8895528?v=4)[Mistralys](/maintainers/Mistralys)[@Mistralys](https://github.com/Mistralys)

---

Top Contributors

[![Mistralys](https://avatars.githubusercontent.com/u/8895528?v=4)](https://github.com/Mistralys "Mistralys (303 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mistralys-application-utils-core/health.svg)

```
[![Health](https://phpackages.com/badges/mistralys-application-utils-core/health.svg)](https://phpackages.com/packages/mistralys-application-utils-core)
```

###  Alternatives

[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[ueberdosis/tiptap-php

A PHP package to work with Tiptap output

26615.0M61](/packages/ueberdosis-tiptap-php)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[bowphp/framework

The bow PHP Framework

6017.5k13](/packages/bowphp-framework)[spatie/laravel-mailcoach-editor

An Editor editor package for Mailcoach

11255.6k1](/packages/spatie-laravel-mailcoach-editor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
