laravel-admin-ext/media-manager

Media manager for laravel

v2.0.3 2021-12-07 02:03 UTC

This package is auto-updated.

Last update: 2023-01-07 04:24:10 UTC


README

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