String manipulation library

Maintainers

Package info

github.com/crysalead/text

pkg:composer/crysalead/text

Statistics

Installs: 62 793

Dependents: 6

Suggesters: 0

Stars: 4

Open Issues: 0

2.0.0 2015-12-06 02:31 UTC

This package is auto-updated.

Last update: 2026-03-01 00:21:13 UTC


README

Build Status Code Coverage

A small library that replaces placeholders into a string template.

API

Replacing some placeholders

Text::insert('My name is {:name} and I am {:age} years old.', [
    'name' => 'Bob', 'age' => '65'
]);