PHPackages                             timesplinter/tsfw-common - 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. timesplinter/tsfw-common

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

timesplinter/tsfw-common
========================

PHP library to abstract common tasks with strings, array, etc.

v0.1.6(11y ago)07755LGPLPHPPHP &gt;=5.1.0

Since Jul 23Pushed 11y agoCompare

[ Source](https://github.com/TiMESPLiNTER/tsfw-common)[ Packagist](https://packagist.org/packages/timesplinter/tsfw-common)[ Docs](http://github.com/TiMESPLiNTER/tsfw-common)[ RSS](/packages/timesplinter-tsfw-common/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (5)

tsfw-common
===========

[](#tsfw-common)

This framework component deals with everyday operations for strings, arrays, other scalar data types and even some classes.

[![Latest Stable Version](https://camo.githubusercontent.com/686ad60e47e29784ca9cce92040c88b351fd96b71559a4d87467bb8224ff9eb5/68747470733a2f2f706f7365722e707567782e6f72672f74696d6573706c696e7465722f747366772d636f6d6d6f6e2f762f737461626c652e737667)](https://packagist.org/packages/timesplinter/tsfw-common)[![Build Status](https://camo.githubusercontent.com/c035009ff09ac8fc221a772ba1576978bf077db0d25aebab074289390efff566/68747470733a2f2f7472617669732d63692e6f72672f54694d4553504c694e5445522f747366772d636f6d6d6f6e2e737667)](https://travis-ci.org/TiMESPLiNTER/tsfw-common)

StringUtils
-----------

[](#stringutils)

- **afterFirst** - Returns a substring after first occurrence of a string
- **afterLast** - Returns a substring after last occurrence of a string
- **between** - Returns a substring between two strings
- **beforeFirst** - Returns a substring before first occurrence of a string
- **beforeLast** - Returns a substring before last occurrence of a string
- **endsWith** - Checks if a string ends with a specific substring
- **insertBefore** - Inserts a string before a specific substring
- **insertAfter** - Inserts a string after a specific substring
- **startsWith** - Checks if a string starts with a specific substring
- **tokenize** - Returns an array of tokens from a string
- **urlify** - Converts a string to a URL friendly representation

ArrayUtils
----------

[](#arrayutils)

- **arrayColumn** - User-land implementation of PHP 5.5s `array_column()` function
- **implode** - Improvement of the PHP built-in `implode()` function
- **isAssociative** - Checks if the array is associative (some keys type is string)
- **isSequential** - Checks if an array is sequential (numeric keys only)

JsonUtils
---------

[](#jsonutils)

- **decode**
- **decodeFile**
- **minify**

ReflectionUtils
---------------

[](#reflectionutils)

- **getLockedProperty** - Gets a value of a locked property from a specific class instance
- **setLockedProperty** - Sets a value of a locked property from a specific class instance

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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 ~44 days

Recently: every ~11 days

Total

7

Last Release

4050d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/598854?v=4)[Pascal Münst](/maintainers/TiMESPLiNTER)[@TiMESPLiNTER](https://github.com/TiMESPLiNTER)

---

Top Contributors

[![TiMESPLiNTER](https://avatars.githubusercontent.com/u/598854?v=4)](https://github.com/TiMESPLiNTER "TiMESPLiNTER (22 commits)")

---

Tags

commontsfw

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/timesplinter-tsfw-common/health.svg)

```
[![Health](https://phpackages.com/badges/timesplinter-tsfw-common/health.svg)](https://phpackages.com/packages/timesplinter-tsfw-common)
```

###  Alternatives

[phpoffice/common

PHPOffice Common

23512.3M36](/packages/phpoffice-common)[prooph/common

Common classes used across prooph packages

852.2M27](/packages/prooph-common)

PHPackages © 2026

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