Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.56 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.56 KB

Media manager for laravel-admin

StyleCI Packagist Total Downloads Pull request welcome

Media manager for local disk.

Documentation | 中文文档

Screenshot

wx20170809-170104

Installation

// 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:

    '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).