Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 513 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 513 Bytes

Text - String manipulation library

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'
]);