PHP code example of iankov / control-panel-news
1. Go to this page and download the library: Download iankov/control-panel-news library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
iankov / control-panel-news example snippets
[
'icon' => 'th',
'title' => 'News categories',
'link' => icp_route('news.categories')
],
[
'icon' => 'list',
'title' => 'News',
'link' => icp_route('news')
]
bash
php artisan vendor:publish --tag=icp_news_migrations
bash
php artisan migrate