4 WrappedString is a small PHP library for compacting redundant string-wrapping
5 code in text output. The most common use-case is to eliminate redundant runs of
6 HTML open/close tags and JavaScript boilerplate.
8 Here is how you use it:
11 use WrappedString\WrappedString;
14 new WrappedString( '[foo]', '[', ']' ),
15 new WrappedString( '[bar]', '[', ']' ),
17 $output = WrappedString::join( "\n", $buffer );
24 The project is licensed under the MIT license.