PHPackages                             yiiatom/cms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yiiatom/cms

ActiveLibrary[Framework](/categories/framework)

yiiatom/cms
===========

Atom CMS module for Yii3 Framework

06PHP

Since Aug 11Pushed 1mo agoCompare

[ Source](https://github.com/yiiatom/cms)[ Packagist](https://packagist.org/packages/yiiatom/cms)[ RSS](/packages/yiiatom-cms/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Atom CMS for Yii3 Framework
===========================

[](#atom-cms-for-yii3-framework)

Installation
------------

[](#installation)

To install the CMS, follow these steps:

### 1. Install the framework

[](#1-install-the-framework)

For more information see

```
composer create-project yiisoft/app your_project

```

### 2. Configure your application

[](#2-configure-your-application)

#### Database configuration

[](#database-configuration)

```
// config/common/params.php

use Yiisoft\Db\Mysql\Dsn;

return [
    ...
    'yiisoft/db-mysql' => [
        'dsn' => new Dsn(
            'mysql',
            $_ENV['DB_HOST'],
            $_ENV['DB_NAME'],
            $_ENV['DB_PORT']
        ),
        'username' => $_ENV['DB_USERNAME'],
        'password' => $_ENV['DB_PASSWORD'],
    ],
    ...
];
```

```
// config/common/di/db-mysql.php

declare(strict_types=1);

use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Mysql\Connection;
use Yiisoft\Db\Mysql\Driver;

/** @var array $params */

return [
    ConnectionInterface::class => [
        'class' => Connection::class,
        '__construct()' => [
            'driver' => new Driver(
                $params['yiisoft/db-mysql']['dsn'],
                $params['yiisoft/db-mysql']['username'],
                $params['yiisoft/db-mysql']['password'],
            ),
        ],
    ],
];
```

```
// .env

...
DB_HOST=127.0.0.1
DB_NAME=your_database_name
DB_PORT=3306
DB_USERNAME=your_username
DB_PASSWORD=your_password
...

```

#### User configuration

[](#user-configuration)

```
// config/web/di/user.php

declare(strict_types=1);

use Yiisoft\Definitions\Reference;
use Yiisoft\Session\SessionInterface;
use Yiisoft\User\CurrentUser;

return [
    CurrentUser::class => [
        'withSession()' => [Reference::to(SessionInterface::class)]
    ],
];
```

```
// config/common/params.php

return [
    ...
    'yiisoft/session' => [
        'session' => [
            'options' => [
                'cookie_secure' => 0,
            ],
        ],
    ],
    ...
];
```

### 3. Apply database migrations

[](#3-apply-database-migrations)

Add this to `config/console/params.php`:

```
'yiisoft/db-migration' => [
    // ...
    'sourcePaths' => [
        __DIR__ . '/../../vendor/yiiatom/cms/migrations',
    ],
],
```

```
./yii migrate:up

```

Changing CMS base path
----------------------

[](#changing-cms-base-path)

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance60

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9457517?v=4)[dkhlystov](/maintainers/dkhlystov)[@dkhlystov](https://github.com/dkhlystov)

---

Top Contributors

[![dkhlystov](https://avatars.githubusercontent.com/u/9457517?v=4)](https://github.com/dkhlystov "dkhlystov (53 commits)")

### Embed Badge

![Health badge](/badges/yiiatom-cms/health.svg)

```
[![Health](https://phpackages.com/badges/yiiatom-cms/health.svg)](https://phpackages.com/packages/yiiatom-cms)
```

###  Alternatives

[awcodes/filament-addons

A set of components / fields to extend Filament Admin.

3013.1k2](/packages/awcodes-filament-addons)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
