hexters / ladmin-public-storage-plugin
File storage plugin for package ladmin (Laravel Admin)
v0.0.3
2020-12-02 15:50 UTC
Requires
This package is auto-updated.
Last update: 2024-11-30 02:08:05 UTC
README
This is a plugin for the hexters\ladmin package
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