litecms / news
News package for litecms.
Installs: 4 048
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Language:HTML
Type:lavalite-package
Requires
- php: ^7.1.3
README
Laravel package that provides news management facility for lavalite CMS.
Installation
Require this package with composer.
composer require litecms/news
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Publishing
Configuration
php artisan vendor:publish --provider="Litecms\News\Providers\NewsServiceProvider" --tag="config"
Language
php artisan vendor:publish --provider="Litecms\News\Providers\NewsServiceProvider" --tag="lang"
Files
php artisan vendor:publish --provider="Litecms\News\Providers\NewsServiceProvider" --tag="storage"
Views
Publish views to resources\views\vendor directory
php artisan vendor:publish --provider="Litecms\News\Providers\NewsServiceProvider" --tag="view"
Publishes admin view to admin theme
php artisan theme:publish --provider="Litecms\News\Providers\NewsServiceProvider" --view="admin" --theme="admin"
Publishes public view to public theme
php artisan theme:publish --provider="Litecms\News\Providers\NewsServiceProvider" --view="public" --theme="public"