Skip to content

Latest commit

 

History

History
executable file
·
44 lines (23 loc) · 1.23 KB

slider.md

File metadata and controls

executable file
·
44 lines (23 loc) · 1.23 KB

Slider

Laravel package that provides slider management facility for lavalite CMS.

Installation

Require this package with composer.

composer require litecms/slider

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Migration and seeds

php artisan migrate
php artisan db:seed --class=Litecms\\SliderTableSeeder

Publishing

Configuration

php artisan vendor:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --tag="config"

Language

php artisan vendor:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --tag="lang"

Files

php artisan vendor:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --tag="storage"

Views

Publish views to resources\views\vendor directory

php artisan vendor:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --tag="view"

Publishes admin view to admin theme

php artisan theme:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --view="admin" --theme="admin"

Publishes public view to public theme

php artisan theme:publish --provider="Litecms\Slider\Providers\SliderServiceProvider" --view="public" --theme="public"