Skip to content

Commit

Permalink
document update
Browse files Browse the repository at this point in the history
  • Loading branch information
rny committed Oct 28, 2016
1 parent c63c6e1 commit c7f94e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ $ composer require rny/slugutf8

## Usage

```
use Rny\SlugUtf8\SlugUtf8;
$slug = SlugUtf8::SlugUtf8($str);
```

```
$slug = \Rny\SlugUtf8\SlugUtf8::SlugUtf8($str);
```
Expand All @@ -32,7 +38,7 @@ $options = array(
'lowercase' => true,
'replacements' => array(),
'transliterate' => false,
'utf8_strip' => false,
'strip_non_utf8' => false,
);
$slug = \Rny\SlugUtf8\SlugUtf8::SlugUtf8($str, $options);
```
Expand Down

0 comments on commit c7f94e3

Please sign in to comment.