2017 © Pedro Peláez
 

yii2-extension cmyii-core

Cmyii CMS core

image

paulzi/cmyii-core

Cmyii CMS core

  • Monday, December 25, 2017
  • by PaulZi
  • Repository
  • 1 Watchers
  • 1 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 28 % Grown

The README.md

CMYii CMS core

CMYii - is CMS admin system based on Yii Framework 2., (*1)

This is core module that provides the functionality of CMS for front-part of site, but does not include the admin system itself., (*2)

Install

If you need the complete CMS, see install cmyii., (*3)

If you only need a core of CMS, use:, (*4)

composer require paulzi/cmyii-core

Usage

See cmyii usage for full feature usage guide., (*5)

Apply migrations in migrations folder. To do this, use one of the following methods:, (*6)

1) Add paulzi\cmyii\migrations namespace to your console app:, (*7)

return [
    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => null,
            'migrationNamespaces' => [
                'console\migrations',
                'paulzi\cmyii\migrations',
            ],
        ],
    ],
]

2) Run command:, (*8)

./yii migrate --migrationPath= --migrationNamespaces=paulzi\cmyii\migrations

To use only the core, specify in the configs of the application:, (*9)

return [
    'bootstrap' => ['cmyii'],
    'modules' => [
        'cmyii' => [
            'class' => 'paulzi\cmyii\Cmyii',
        ],
    ],
];

Documentation

See cmyii documentation, (*10)

The Versions