Skip to content

Commit 503f26c

Browse files
update
1 parent 8a3b838 commit 503f26c

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

README.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ Support Package For Tamedevelopers
1010
* [Zip](#zip)
1111
* [Time](#time)
1212
* [Cookie](#cookie)
13-
14-
15-
16-
1713
* [Asset](#Asset)
1814
* [Asset config](#asset-config)
1915
* [Asset Cache](#asset-cache)
@@ -80,7 +76,8 @@ NumberToWords::cents(true)
8076
```
8177

8278
### Number
83-
- Takes two param as `int\|float\|string` and `boolean`
79+
- Takes two param as `int\|float\|string` and [optional] cents as `boolean`
80+
- If you do not want to call the cents method, then we can call it directly here
8481

8582
```
8683
NumberToWords::number(1290)->translate()
@@ -93,6 +90,38 @@ NumberToWords()->iso('TUR')->number('120.953', true)->translate()
9390
// One hundred and twenty lira, nine hundred and fifty-three kuruş
9491
```
9592

93+
## Zip
94+
- Takes two param as `string`
95+
- [sourcePath] relative path of zip-file
96+
- [destination] relative folder path to unzip-file
97+
98+
```
99+
TameZip()->zip('app/Http', 'app.zip')
100+
```
101+
102+
### Unzip
103+
- Takes two param as `string`
104+
- [sourcePath] relative path of zip-file
105+
- [destination] relative folder path to unzip-file
106+
107+
```
108+
TameZip()->unzip('newData.zip', '/public/zip')
109+
```
110+
111+
### Download
112+
- Takes two param as `string \| boolean`
113+
- [fileName] relative path of zip-file
114+
- [unlink] Default is `true` unlinks file after download
115+
116+
```
117+
TameZip()->download('newData.zip')
118+
```
119+
120+
## Time
121+
122+
123+
## Cookie
124+
96125

97126
## Asset
98127
- Takes a param as `string` path to asset file

Tests/currency.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@
1919

2020
// NumberToWords()->CurrencyNames()
2121

22-
NumberToWords()->iso('TUR')->number('120.953', true)->translate()
23-
2422
);

0 commit comments

Comments
 (0)