jgxvx/data-types

Convenience classes for scalar and complex data types.

Installs: 28 995

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/jgxvx/data-types

6.0.0 2025-02-19 21:16 UTC

This package is auto-updated.

Last update: 2025-09-23 16:08:02 UTC


README

A small collection of convenience classes for dealing with different datatypes in PHP.

Enum\AbstractEnum

An abstract class to act as an Enum of a collection of related values.

StringType\Search

Provides the ability to search for substrings within strings. Mostly obsolete since PHP 8.0 introduced str_starts_with, str_ends_with and str_contains.

StringType\Transformer

Provides the ability to transform strings from snake_case or kebab-case to camelCase and vice versa.