KodiComponents / module-core by butschster

The official KodiCMS Core module
698
0
2
Package Data
Maintainer Username: butschster
Maintainer Contact: butschster@gmail.com (Pavel Buchnev)
Package Create Date: 2016-02-15
Package Last Update: 2017-10-21
Language: JavaScript
License: MIT
Last Refreshed: 2024-11-19 03:04:20
Package Statistics
Total Downloads: 698
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 2
Total Open Issues: 0

KodiCMS Core

Установка (Installation):

  • Запустить команду composer require kodicms/core

  • Добавить в public/index.php следующий код

...
	|
	*/
	
	$app = require_once __DIR__.'/../bootstrap/app.php';

	/*
	|--------------------------------------------------------------------------
	| Tune up KodiCMS
	|--------------------------------------------------------------------------
	|
	*/
	require_once __DIR__.'/../vendor/kodicms/core/src/bootstrap/app.php';

	
	/*
	|--------------------------------------------------------------------------
	| Run The Application
	...
  • Добавить сервис провайдер в app/config.php
'providers' => [
	...
	Illuminate\View\ViewServiceProvider::class,
	
	/*
	 * KodiCMS Service Providers...
	 */
	KodiCMS\CMS\Providers\ModuleLoaderServiceProvider::class,
	
	/*
	 * Application Service Providers...
	 */
	App\Providers\AppServiceProvider::class,
	...
]
  • Выполнить установку системы (Install CMS) php artisan cms:modules:install.
  • Выполнить миграцию таблиц модулей php artisan modules:migrate --seed.

Система готова к использованию