foostart / package-product
Manage product
8.0.3
2021-01-04 06:37 UTC
Requires
README
#Package Filemanager
- @webiste: http://foostart.com
- @package-name: package-filemanager
- @author: Kang
- @date: 27/12/2017
- @version: 2.0
@features
- CRUD
- Add category to form
- Language standard
- Add filters on table data
- Add token for prevent XSRF
Step 1: Add service providers to config/app.php
* Foostart\Product\ProductServiceProvider::class,
* Foostart\Slideshow\SlideshowServiceProvider::class,
* Foostart\Filemanager\FilemanagerServiceProvider::class,
* Intervention\Image\ImageServiceProvider::class,
Step 2: Install publish
- php artisan vendor:publish --provider="Foostart\Product\ProductServiceProvider" --force
- php artisan vendor:publish --provider="Foostart\Slideshow\SlideshowServiceProvider" --force
Step 3: And add class aliases
- 'Image' => Intervention\Image\Facades\Image::class,
Step 4: Publish the package’s config and assets :
- php artisan vendor:publish --tag=lfm_config
- php artisan vendor:publish --tag=lfm_public
Step 5: Clear cache
- php artisan route:clear
- php artisan config:clear
- php artisan storage:link
Step 6: Add user
foostart\laravel-filemanager\src\Handlers\ConfigHandler.php
user()->id; $auth = \App::make('authenticator'); $user = $auth->getLoggedUser(); if (empty($user)) { return NULL; } return $user->id; } }