Skip to content

Commit 7c53aab

Browse files
committed
Initial commit.
0 parents  commit 7c53aab

17 files changed

+1142
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Codecs
2+
======
3+
4+
A collection of codecs for encoding and decoding data. Encoders encode, decoders decode; codecs do both. Codecs inherit
5+
from the `Codec` interface.
6+
7+
Codecs and encoders list
8+
------------------------
9+
10+
The following codecs and encoders are available.
11+
12+
- `Base64Codec` – [Base64](http://php.net/manual/en/function.base64-encode.php) encoding.
13+
- `CodecList` – Applies a list of codecs in series.
14+
- `NewlineEncoder` – Converts line endings.
15+
- `OpenSslCodec` – [OpenSSL](http://php.net/manual/en/book.openssl.php) encryption.
16+
- `Rot13Codec` – [Rot13](http://php.net/manual/en/function.str-rot13.php) encoding.
17+
- `TransparentCodec` – No encoding.

composer.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "scriptfusion/codecs",
3+
"description": "A collection of codecs for encoding and decoding data.",
4+
"authors": [
5+
{
6+
"name": "Bilge",
7+
"email": "[email protected]"
8+
}
9+
],
10+
"autoload": {
11+
"psr-4": { "ScriptFUSION\\Codec\\": "src" }
12+
},
13+
"require-dev": {
14+
"phpunit/phpunit": "*"
15+
}
16+
}

0 commit comments

Comments
 (0)