Skip to content

Commit 1bd24c6

Browse files
authored
Update README.md
1 parent 90c8e4c commit 1bd24c6

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
# 🚀Simple Laravel Encrypt Upload File
34
[![GitHub license](https://img.shields.io/github/license/irfaardy/encrypt-file-laravel?style=flat-square)](https://github.com/irfaardy/encrypt-file-laravel/blob/master/LICENSE) [![Support me](https://img.shields.io/badge/Support-Buy%20me%20a%20coffee-yellow.svg?style=flat-square)](https://www.buymeacoffee.com/OBaAofN)
45

@@ -79,9 +80,23 @@
7980
8081
public function upload_file(Request $request)
8182
{
82-
$file = 'encrypted_file.doc';
83+
$file = 'encrypted_file.txt';
8384
return FileSafe::download($file);
84-
//This is to decrypt files to be downloaded.
85+
//decrypt files to be downloaded.
8586
}
8687
}
8788

89+
<h3>View Raw File</h3>
90+
91+
...
92+
$file = 'encrypt_file.txt';
93+
return FileSafe::file($file)->raw();
94+
...
95+
96+
<h2>Contribution</h2>
97+
ENG:<br>
98+
If you want to contribute this project and make it better, your help is very welcome.<br>
99+
IDN:<br>
100+
Jika Anda ingin berkontribusi dalam proyek ini dan menjadikannya lebih baik, bantuan Anda sangat kami harapkan.
101+
102+
***

0 commit comments

Comments
 (0)