PHPackages                             seworqs/phing-string - 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. seworqs/phing-string

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

seworqs/phing-string
====================

A collection of Phing tasks for string casing, namespaces, path conversion, and random string generation. Useful for manipulating and transforming strings within your Phing build process.

1.1.0(1y ago)02Apache-2.0PHPPHP ^8.1

Since Apr 25Pushed 1y agoCompare

[ Source](https://github.com/seworqs/phing-string)[ Packagist](https://packagist.org/packages/seworqs/phing-string)[ RSS](/packages/seworqs-phing-string/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

SEworqs Phing String
====================

[](#seworqs-phing-string)

A collection of Phing tasks for string casing, namespaces, path conversion, and random string generation. Useful for manipulating and transforming strings within your Phing build process.

Installation
------------

[](#installation)

Install via Composer:

```
composer require seworqs/phing-string
```

Usage
-----

[](#usage)

Import the SEworqs task library in your `build.xml`:

```

```

This will register all available tasks so you can use them directly:

```

```

> Prefer to manage task registration yourself?
> You can also define tasks individually using ``. See `examples/example.xml`.

> For more examples, see [examples.xml](resources/phing/examples.xml)

Features
--------

[](#features)

- Convert strings to multiple casing formats
- Normalize namespaces from file paths
- Generate PSR-4 style file paths from namespaces
- Generate secure random strings
- Easy integration via `import.xml`, or define tasks manually

Tasks Overview
--------------

[](#tasks-overview)

NamespaceTask ClassPurposeSeworqs\\Phing\\Task\\CasingLowerCaseTaskConverts to lowercaseUpperCaseTaskConverts to uppercaseCamelCaseTaskConverts to `camelCase`PascalCaseTaskConverts to `PascalCase`SnakeCaseTaskConverts to `snake_case`KebabCaseTaskConverts to `kebab-case`ScreamingSnakeCaseTaskConverts to `SCREAMING_SNAKE_CASE`ScreamingKebabCaseTaskConverts to `SCREAMING-SNAKE-CASE`TitleCaseTaskConverts to `Title Case`Seworqs\\Phing\\Task\\NamespaceNamespaceTaskExtracts namespace from file pathSeworqs\\Phing\\Task\\PathPathTaskConverts namespace to PSR-4 file pathSeworqs\\Phing\\Task\\RandomRandomTaskGenerates a random stringLicense
-------

[](#license)

Apache-2.0 — see [LICENSE](./LICENSE)

About SEworqs
-------------

[](#about-seworqs)

SEworqs builds clean, reusable modules for PHP and Mendix developers.

Learn more at [github.com/seworqs](https://github.com/seworqs)

Badges
------

[](#badges)

[![Latest Version](https://camo.githubusercontent.com/0c1800dc78898bc326d034adfb51d9abb8ac10e2058ebe22fb18e7c1116f31aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7365776f7271732f7068696e672d737472696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/seworqs/phing-string)
[![Total Downloads](https://camo.githubusercontent.com/da4da10369b1eb7da7e087261d9d6258cfd068d10ed20226655497d2183e417f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7365776f7271732f7068696e672d737472696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/seworqs/phing-string)
[![License](https://camo.githubusercontent.com/b506e3d1d28c07685f7947c46f17a9d48283cb4e0544f6130e59e1adf658058b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7365776f7271732f7068696e672d737472696e673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/seworqs/phing-string)
[![PHP Version](https://camo.githubusercontent.com/ac4f910dd0c01dda8106e3c2fbe959f0f187b25549d4e52447360d18e89b294f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7365776f7271732f7068696e672d737472696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/seworqs/phing-string)
[![Made by SEworqs](https://camo.githubusercontent.com/d261914a774b546f4f5b1e9a121baff37ed64b3909f9f940b655bbc7ad9bb50b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61646525323062792d5345776f7271732d3030326437343f7374796c653d666c61742d737175617265)](https://github.com/seworqs)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance49

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a83a01e1305cbd8007675b4271d06b7d3680f4e9ddc447186632d2c05982cdd?d=identicon)[seworqs](/maintainers/seworqs)

---

Top Contributors

[![seworqs-sefranke](https://avatars.githubusercontent.com/u/205894657?v=4)](https://github.com/seworqs-sefranke "seworqs-sefranke (3 commits)")

---

Tags

stringphingseworqs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/seworqs-phing-string/health.svg)

```
[![Health](https://phpackages.com/badges/seworqs-phing-string/health.svg)](https://phpackages.com/packages/seworqs-phing-string)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M876](/packages/phing-phing)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)[opis/string

Multibyte strings as objects

7120.9M7](/packages/opis-string)

PHPackages © 2026

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