File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 44
55FileEntry API is good way to handle files with Laravel Storage.
66
7+ ### Install FileEntry
8+
9+ composer.json:
10+
11+ "require" : {
12+ "unisharp/laravel-fileentry" : "dev-master"
13+ },
14+ "repositories": {
15+ "type": "git",
16+ "url": "https://github.com/UniSharp/laravel-fileentry.git
17+ }
18+
19+ save it and then
20+
21+ composer update
22+
723### Initialize FileEntry
824
925 use \Unisharp\FileEntry\FileEntry;
3046 $files += $entry->save('images');
3147 }
3248
33- * Costimize your upload file name
49+ * Custimize your upload file name
3450
35- $file = $entry->save('image', 'costimized_filename '); // => costimized_filename .jpg
51+ $file = $entry->save('image', 'custimized_filename '); // => custimized_filename .jpg
3652
3753
3854### Get file fullpath
You can’t perform that action at this time.
0 commit comments