crysalead/string

This package is abandoned and no longer maintained. The author suggests using the crysalead/text package instead.

String manipulation library

Installs: 3 855

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 1

Open Issues: 0

pkg:composer/crysalead/string

2.0.0 2015-12-06 02:31 UTC

This package is auto-updated.

Last update: 2022-02-01 12:36:36 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'
]);