PHPackages                             soy-php/replace-task - 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. soy-php/replace-task

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

soy-php/replace-task
====================

Replace task for Soy

0.1.1(10y ago)060911MITPHP

Since Nov 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/soy-php/replace-task)[ Packagist](https://packagist.org/packages/soy-php/replace-task)[ RSS](/packages/soy-php-replace-task/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Replace Task
============

[](#replace-task)

[![Latest Stable Version](https://camo.githubusercontent.com/58ec0de4a73395ad425b159c603e7fc81300a92aff38dcd2c93ec504a6453fb5/68747470733a2f2f706f7365722e707567782e6f72672f736f792d7068702f7265706c6163652d7461736b2f762f737461626c65)](https://packagist.org/packages/soy-php/replace-task) [![Total Downloads](https://camo.githubusercontent.com/37bb94c59af9b90cb567a1f75da0c4a97966d41957805dac72445fbe12b06391/68747470733a2f2f706f7365722e707567782e6f72672f736f792d7068702f7265706c6163652d7461736b2f646f776e6c6f616473)](https://packagist.org/packages/soy-php/replace-task) [![Latest Unstable Version](https://camo.githubusercontent.com/ce12ab4174008eca1cdf36fb00141284daf2631ebef7d103a2b779823de6f382/68747470733a2f2f706f7365722e707567782e6f72672f736f792d7068702f7265706c6163652d7461736b2f762f756e737461626c65)](https://packagist.org/packages/soy-php/replace-task) [![License](https://camo.githubusercontent.com/77da5459e81d5c19cb9541a2c5d7c31aa96d7a70e9672a969b36a5c334789858/68747470733a2f2f706f7365722e707567782e6f72672f736f792d7068702f7265706c6163652d7461736b2f6c6963656e7365)](https://packagist.org/packages/soy-php/replace-task)

Introduction
------------

[](#introduction)

This is a replace task for [Soy](https://github.com/soy-php/soy), you can use this task to replace strings in files based on a specific config.

Usage
-----

[](#usage)

Include `soy-php/replace-task` in your project with composer:

```
$ composer require soy-php/replace-task
```

Then in your recipe you can use the task as follows:

```
