litecms/news

News package for litecms.

Maintainers

Details

github.com/Litecms/News

Source

Issues

Installs: 3 330

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

Language:HTML

Type:lavalite-package

2.0.3 2018-10-16 16:11 UTC

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"