PHPackages                             jonnybarnes/dumbquotes - 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. jonnybarnes/dumbquotes

AbandonedLibrary

jonnybarnes/dumbquotes
======================

Pugre all the dumb quotes!

v1.0(12y ago)140CC0PHPPHP &gt;=5.3.0

Since Jun 15Pushed 12y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (9)Used By (0)

\#Dumbquotes

[![Build Status](https://camo.githubusercontent.com/ac07df5fbf9d8ab828af9e99f21d692e20ff4b43846df7b3b12d831281c06313/68747470733a2f2f7472617669732d63692e6f72672f6a6f6e6e796261726e65732f64756d6271756f7465732e706e67)](https://travis-ci.org/jonnybarnes/dumbquotes)

This looks for dumbquotes and other typeographical features replaces them with their smart equivalent.

It will replace

- straight quotes
- ellipses
- dashes

This has been made to deal with plain text. It fits into my workflow by first applying the `tranform()` method and then applying a Markdown parser to the result. To do so the other way round would result in having to deal with HTML which would make the code vastly more complex.

To use this first we must install it. Then we need to declare the namepsace then instantiate the parser.

Edit your `composer.json` requires section to inlcude `jonnybarnes/dumbquotes`:

```
{
    "require": {
        "jonnybarnes/dumbquotes": "dev-master"
    }
}

```

then in your PHP:

```
