Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laravel-admin-extensions/media-manager

Provides a web interface to manage local files
https://github.com/laravel-admin-extensions/media-manager

Last synced: about 1 month ago
JSON representation

Provides a web interface to manage local files

Awesome Lists containing this project

README

        

Media manager for laravel-admin
===============================

[![StyleCI](https://styleci.io/repos/98843192/shield?branch=master)](https://styleci.io/repos/98843192)
[![Packagist](https://img.shields.io/packagist/l/laravel-admin-ext/media-manager.svg?maxAge=2592000)](https://packagist.org/packages/laravel-admin-ext/media-manager)
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-admin-ext/media-manager.svg?style=flat-square)](https://packagist.org/packages/laravel-admin-ext/media-manager)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square)]()

Media manager for `local` disk.

[Documentation](http://laravel-admin.org/docs/#/en/extension-media-manager) | [中文文档](http://laravel-admin.org/docs/#/zh/extension-media-manager)

## Screenshot

![wx20170809-170104](https://user-images.githubusercontent.com/1479100/29113762-99886c32-7d24-11e7-922d-5981a5849c7a.png)

## Installation

```shell
// For laravel-admin 1.x
composer require laravel-admin-ext/media-manager:1.x -vvv

// For laravel-admin 2.x
composer require laravel-admin-ext/media-manager:2.x -vvv

php artisan admin:import media-manager
```

Add a disk config in `config/admin.php`:

```php

'extensions' => [

'media-manager' => [

           // Select a local disk that you configured in `config/filesystem.php`
        'disk' => 'public',
'allowed_ext' => 'jpg,jpeg,png,pdf,doc,docx,zip'
],
],

```

Open `http://localhost/admin/media`.

License
------------
Licensed under [The MIT License (MIT)](LICENSE).