PHPackages                             elegant-bro/stringify - 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. elegant-bro/stringify

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

elegant-bro/stringify
=====================

0.4.1(3y ago)42.3k[1 PRs](https://github.com/elegant-bro/stringify/pulls)1MITPHPPHP ^7.1 || ^8.0

Since Aug 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/elegant-bro/stringify)[ Packagist](https://packagist.org/packages/elegant-bro/stringify)[ RSS](/packages/elegant-bro-stringify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (8)Used By (1)

[![Build Status](https://camo.githubusercontent.com/78256688d1dcbda2ec894b16ccb44b31a95138f02610e2cd8cbec54973be48f7/68747470733a2f2f7472617669732d63692e636f6d2f656c6567616e742d62726f2f737472696e676966792e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/elegant-bro/stringify)[![Coverage Status](https://camo.githubusercontent.com/eb2b7e95caa455b5f136b0ece7d345dbcd4208ea452aae232f06005a41cf786d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656c6567616e742d62726f2f737472696e676966792f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/elegant-bro/stringify?branch=master)

Work with strings in an elegant way
===================================

[](#work-with-strings-in-an-elegant-way)

`Stringify` interface gives the ability to any objects to represent them as a string. This library contains the most useful functionality for string manipulation from PHP organized in objects. You can compose them in an elegant way.

Examples
--------

[](#examples)

Suppose you create some abstraction to execute sql queries:

```
