|
1 | 1 | <p align="center"><img src="https://unisharp.github.io/laravel-filemanager/images/logo_vertical_colored.png"></p> |
2 | 2 |
|
3 | 3 | <p align="center"> |
4 | | - <a target="_blank" href="https://travis-ci.org/UniSharp/laravel-filemanager"><img src="https://img.shields.io/travis/UniSharp/laravel-filemanager.svg"></a> |
5 | 4 | <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/downloads"></a> |
6 | 5 | <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/packagist/dm/unisharp/laravel-filemanager.svg"></a> |
| 6 | + <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/stable-2.0.0-blue.svg"></a> |
| 7 | + <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/license"></a> |
| 8 | + <br> |
| 9 | + <a target="_blank" href="https://travis-ci.org/UniSharp/laravel-filemanager"><img src="https://img.shields.io/travis/UniSharp/laravel-filemanager.svg"></a> |
7 | 10 | <a target="_blank" href="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/"><img src="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/badges/quality-score.png?b=master"></a> |
8 | 11 | <a target="_blank" href="https://codeclimate.com/github/UniSharp/laravel-filemanager/maintainability"><img src="https://api.codeclimate.com/v1/badges/e51f2ef8f4d9f97268db/maintainability" /></a> |
9 | | - <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/unstable-v2.0.0--alpha8-orange.svg"></a> |
10 | | - <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/v/stable"></a> |
11 | | - <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/license"></a> |
| 12 | + <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/unstable-dev-master-orange.svg"></a> |
12 | 13 | </p> |
13 | 14 |
|
14 | 15 | <p align="center"> |
|
31 | 32 | <a href="https://github.com/UniSharp/laravel-filemanager/wiki">FAQ</a> |
32 | 33 | </p> |
33 | 34 |
|
34 | | -## Installing alpha version |
35 | | -The alpha version of `v2.0` contains support for cloud storage and fresh new UI with RWD. |
36 | | - |
37 | | - * Run `composer require unisharp/laravel-filemanager:dev-master` to get the latest code. |
38 | | - * Run `composer require unisharp/laravel-filemanager:v2.0.0-alpha8` to get the latest release of alpha version. |
| 35 | + |
39 | 36 |
|
40 | 37 | ## v2.0 progress |
41 | | -* [x] (done) Unit test |
42 | | -* [x] (done) Integrate with Laravel Storage |
43 | | -* [x] (done) Multiple selection |
44 | | -* [x] (done) Responsive design |
45 | | -* [x] (done) Config refactoring |
46 | | -* [x] (done) JSON APIs |
47 | | -* [x] (done) Move to folder function |
48 | | -* [x] (done) Applying MIME icon generator |
49 | | -* [x] (done) Refactor floating action buttons |
50 | | -* [x] (done) Configurable disk of storage |
51 | | -* [x] (done) Bootstrap 4 support |
52 | | -* [x] (done) Remove bootbox |
53 | | -* [ ] Documents for v2.0 |
54 | | -* [x] (done) Resize function RWD refactor |
55 | | -* [ ] ConfigHandler should overwrite most configs |
56 | | -* [ ] Events should pass object instead of only file path |
57 | | -* [ ] Add more events for files and folders manipulation |
58 | | - |
59 | | -## Documents of V1 |
60 | | -https://github.com/UniSharp/laravel-filemanager/tree/v1/docs |
| 38 | +🎉 Finally v2.0.0 has been released! 🎉 |
61 | 39 |
|
62 | | -## Errors with namespace |
63 | | -We have changed namespace from `Unisharp` to `UniSharp`, and change the first character of every namespace into capital. |
| 40 | +These are primary features of this update: |
| 41 | +* Redesigned RWD user interface. |
| 42 | +* Supporting multiple files selection. |
| 43 | +* Supporting cloud storages integration(with Laravel file system). |
| 44 | +* Refactored code and increased test coverage. |
64 | 45 |
|
65 | | -If you are updating this package and encounter any errors like `Class not found`, please remove this package entirely and reinstall again. |
| 46 | +Although it is not perfect enough, we decided to release it. Now users who want the above features won't need to install alpha versions anymore. |
66 | 47 |
|
67 | | -## v1.8 released |
68 | | - * Please follow the intructions in [upgrade document](https://unisharp.github.io/laravel-filemanager/upgrade). |
69 | | - * Important changes : |
70 | | - * Fix Windows compatibility (utf-8 file names and folder names). |
71 | | - * New feature : Copy & Crop. Thanks [gwleuverink](https://github.com/gwleuverink). |
72 | | - * [Config document](https://unisharp.github.io/laravel-filemanager/config) is refactored. |
73 | | - |
74 | | -## Security |
75 | | - |
76 | | -It is important to note that if you use your own routes **you must protect your routes to Laravel-Filemanager in order to prevent unauthorized uploads to your server**. Fortunately, Laravel makes this very easy. |
77 | | - |
78 | | -If, for example, you want to ensure that only logged in users have the ability to access the Laravel-Filemanager, simply wrap the routes in a group, perhaps like this: |
79 | | - |
80 | | -```php |
81 | | -Route::group(['middleware' => 'auth'], function () { |
82 | | - Route::get('/laravel-filemanager', '\UniSharp\LaravelFilemanager\Controllers\LfmController@show'); |
83 | | - Route::post('/laravel-filemanager/upload', '\UniSharp\LaravelFilemanager\Controllers\UploadController@upload'); |
84 | | - // list all lfm routes here... |
85 | | -}); |
86 | | -``` |
87 | | - |
88 | | -This approach ensures that only authenticated users have access to the Laravel-Filemanager. If you are using Middleware or some other approach to enforce security, modify as needed. |
| 48 | +There are still some thing we need to do make this package better: |
| 49 | +* [ ] Documents for v2.0.0 |
| 50 | +* [ ] Events should pass object instead of only file path |
| 51 | +* [ ] Add more events for files and folders manipulation |
89 | 52 |
|
90 | | -**If you use the laravel-filemanager default route, make sure the `auth` middleware (set in config/lfm.php) is enabled and functional**. |
| 53 | +We are also going to gain more integration like vue.js and Laravel Nova. Any PR is welcome! |
91 | 54 |
|
92 | 55 | ## Contributors & Credits |
93 | 56 |
|
|
0 commit comments