Contributte Replacus

Parameter & placeholder replacer

Content

Setup

composer require contributte/replacus
1

Usage

use Contributte\Replacus\Replacus;

$replacus = Replacus::create();
$replacus->replace('https://{$domain}', ['domain' => 'contributte.org']);
1
2
3
4