GithubHelp home page GithubHelp logo

spgwebdev / laravel-filemanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unisharp/laravel-filemanager

0.0 2.0 1.0 4.03 MB

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.

Home Page: https://unisharp.github.io/laravel-filemanager/

License: MIT License

Makefile 0.08% CSS 2.42% JavaScript 8.29% PHP 76.20% HTML 13.01%

laravel-filemanager's Introduction

Travis CI Total Downloads Latest Unstable Version Latest Stable Version License

Installing alpha version

The alpha version of v2.0 contains support of cloud storage and fresh new UI with RWD.

  • Run composer require unisharp/laravel-filemanager:dev-master to get the latest code.
  • Run composer require unisharp/laravel-filemanager:v2.0.0-alpha4 to get the latest release of alpha version.

Errors with namespace

We have changed namespace from Unisharp to UniSharp, and change the first character of every namespace into capital.

If you are updating this package and encounter any errors like Class not found, please remove this package entirely and reinstall again.

v1.8 released

  • Please follow the intructions in upgrade document.
  • Important changes :
    • Fix Windows compatibility (utf-8 file names and folder names).
    • New feature : Copy & Crop. Thanks gwleuverink.
    • Config document is refactored.

Security

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.

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:

Route::group(['middleware' => 'auth'], function () {
    Route::get('/laravel-filemanager', '\Unisharp\Laravelfilemanager\controllers\LfmController@show');
    Route::post('/laravel-filemanager/upload', '\Unisharp\Laravelfilemanager\controllers\UploadController@upload');
    // list all lfm routes here...
});

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.

If you use the laravel-filemanager default route, make sure the auth middleware (set in config/lfm.php) is enabled and functional.

v2.0 progress

  • (done) Unit test
  • (done) Integrate with Laravel Storage
  • (done) Multiple selection
  • (done) Responsive design
  • (done) Config refactoring
  • (done) JSON APIs
  • (done) Move to folder function
  • (done) Applying MIME icon generator
  • (done) Refactor floating action buttons
  • (done) Configurable disk of storage
  • (done) Bootstrap 4 support
  • (done) Remove bootbox
  • Documents for v2.0

Contributors & Credits

Developers / Maintainers

Contributors

Credits

laravel-filemanager's People

Contributors

abdulaziz-jm avatar albertcht avatar amin101 avatar andhikamaheva avatar atzeteppema avatar bluehaha2 avatar cathecat avatar ejeanneaubc avatar freedomknight avatar giokaxo avatar gwleuverink avatar iankov avatar jildertmiedema avatar jonasleitep4 avatar khjay avatar meta0102 avatar micovi avatar miguelcarrascoq avatar moscoquera avatar nasirkhan avatar natha-gomes avatar nikita240 avatar petyots avatar rohos avatar sarperkaya avatar storyn26383 avatar streamtw avatar tsawler avatar welcomattic avatar youchenlee avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.