System Service Manager

Installs: 287

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 2

Open Issues: 0


1.1.12 2020-06-28 00:23 UTC

This package is auto-updated.

Last update: 2022-01-16 02:18:47 UTC


Yii2 Downloads Packagist Version Progress GitHub license

Yii2 Services Module

Yii2 Services Module

System Service Manager for Yii2.

This module is an integral part of the Butterfly.СMS content management system, but can also be used as an standalone extension.

Copyrights (c) 2019-2021 W.D.M.Group, Ukraine



To install the module, run the following command in the console:

$ composer require "wdmg/yii2-services"

After configure db connection, run the following command in the console:

$ php yii services/init

And select the operation you want to perform:

  1. Restore directory rights
  2. Clear runtime cache
  3. Clear web cache
  4. Clear the all system cache


To add a module to the project, add the following data in your configuration file:

'modules' => [
    'services' => [
        'class' => 'wdmg\services\Module',
        'routePrefix' => 'admin'


Use the Module::dashboardNavItems() method of the module to generate a navigation items list for NavBar, like this:

    echo Nav::widget([
    'options' => ['class' => 'navbar-nav navbar-right'],
        'label' => 'Modules',
        'items' => [

Status and version [ready to use]

  • v.1.1.12 - Update dependencies, README.md
  • v.1.1.11 - Update README.md and dependencies
  • v.1.1.10 - Added clearing for Google AMP, Yandex.Turbo, RSS-feed, Search and Sitemap modules
  • v.1.1.9 - Fixed deprecated class declaration
  • v.1.1.8 - Added clearing for Mailer module
  • v.1.1.7 - Added extra options to composer.json and navbar menu icon