Skip to content

Commit 12e7b6f

Browse files
committed
Updated readme file.
1 parent c0d158a commit 12e7b6f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ echo $encoder->encode("foo");
5252
echo $encoder->decode("MZXW6===");
5353
```
5454

55+
#### Base 64
56+
57+
```php
58+
$encoder = new Jocic\Encoders\Base\Base64();
59+
60+
echo $encoder->encode("foo");
61+
echo $encoder->decode("Zm9v");
62+
```
63+
5564
## Installation
5665

5766
There's two ways you can add **Encoders** library to your project:
@@ -60,7 +69,7 @@ There's two ways you can add **Encoders** library to your project:
6069
* Via Composer, by executing the command below
6170

6271
```bash
63-
composer require jocic/encoders dev-master
72+
composer require jocic/encoders 1.0.0
6473
```
6574

6675
## Tests

0 commit comments

Comments
 (0)