hexters/ladmin-public-storage-plugin

File storage plugin for package ladmin (Laravel Admin)

v0.0.3 2020-12-02 15:50 UTC

This package is auto-updated.

Last update: 2024-10-30 01:48:25 UTC


README

Latest Stable Version Total Downloads License

This is a plugin for the hexters\ladmin package

Example Image

Installation

You can install this package via composer:

$ composer require hexters/ladmin-public-storage-plugin

Add this route to Ladmin route

. . .
use Hexters\Ladmin\Routes\Ladmin;
use Hexters\Ladmin\Plugin\PublicStorage\LadminPublicStorage;
. . .

Ladmin::route(function() {

  . . .
  LadminPublicStorage::route();
  . . .

});

Add this menu to app/menus/sidebar.php

<?php 

. . .

use Hexters\Ladmin\Plugin\PublicStorage\LadminPublicStorage;

. . .

return [

  . . .

  LadminPublicStorage::menus(),

  . . .

Publish config file

$ php artisan vendor:publish --tag=public-storage-plugin

And the last allow permission for public storage plugin