-
Install the package
composer require iankov/control-panel-news
-
Publish migrations
php artisan vendor:publish --tag=icp_news_migrations
-
Run migrations
php artisan migrate
-
Add items (news & categories) to
icp-menu.php
config file[ 'icon' => 'th', 'title' => 'News categories', 'link' => icp_route('news.categories') ], [ 'icon' => 'list', 'title' => 'News', 'link' => icp_route('news') ]
You can modify configuration options by adding them to config/icp.php
Package config located in vendor/iankov/control-panel-news/src/config.php
Don't change this file, just use it as an example of what options are configurable.