@@ -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```
8683NumberToWords::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
0 commit comments