From 1bd24c63a0d44335bf0cf7deadfd7e23fc1606be Mon Sep 17 00:00:00 2001 From: IRFA <49023326+irfaardy@users.noreply.github.com> Date: Sun, 23 Feb 2020 12:39:09 +0700 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2442cee..53a92da 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ + # 🚀Simple Laravel Encrypt Upload File [![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) @@ -79,9 +80,23 @@ public function upload_file(Request $request) { - $file = 'encrypted_file.doc'; + $file = 'encrypted_file.txt'; return FileSafe::download($file); - //This is to decrypt files to be downloaded. + //decrypt files to be downloaded. } } +

View Raw File

+ + ... + $file = 'encrypt_file.txt'; + return FileSafe::file($file)->raw(); + ... + +

Contribution

+ENG:
+If you want to contribute this project and make it better, your help is very welcome.
+IDN:
+Jika Anda ingin berkontribusi dalam proyek ini dan menjadikannya lebih baik, bantuan Anda sangat kami harapkan. + +***