s-q-shkiper/media-manager

description

1.0.6 2023-06-29 11:20 UTC

This package is auto-updated.

Last update: 2024-12-03 10:10:50 UTC


README

  • composer require s-q-shkiper/media-manager

  • php artisan vendor:publish --provider='Shkiper\MediaManager\Providers\MediaManagerServiceProvider'

  • php artisan migrate --path=/database/migrations/2023_04_17_062213_create_media_table.php

  • Для переопределение маршрутов Route::get('/mediamanager', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'index']); Route::post('/mediamanager/uploadFiles', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'uploadFiles']); Route::post('/mediamanager/createFolder', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'createFolder']); Route::post('/mediamanager/updateMedia', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'updateMedia']); Route::post('/mediamanager/deleteMedia', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'delete']); Route::post('/mediamanager/openFolder', [ \Shkiper\MediaManager\Http\Controllers\MediaController::class, 'openFolder']);