PHPackages                             simple-yii2/app-single-page - 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. simple-yii2/app-single-page

ActiveProject[Framework](/categories/framework)

simple-yii2/app-single-page
===========================

Single-page site template based on Yii 2 framework.

1.0.0(9y ago)3153[1 issues](https://github.com/simple-yii2/app-single-page/issues)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/simple-yii2/app-single-page)[ Packagist](https://packagist.org/packages/simple-yii2/app-single-page)[ RSS](/packages/simple-yii2-app-single-page/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (14)Versions (3)Used By (0)

Single-page site template
=========================

[](#single-page-site-template)

This is a single-page template based on [Yii PHP Framework Version 2](https://github.com/yiisoft/yii2).

INSTALLATION
------------

[](#installation)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this project template using the following command:

```
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer create-project --prefer-dist simple-yii2/app-single-page single-page

```

CONFIGURATION
-------------

[](#configuration)

### Database

[](#database)

Edit the file `config/db.php` with real data.

**NOTES:**

- Application won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the `config/` directory to customize your application as required.

Once the database is configured, open in browser `your_app/cms` page. On first start, the control system will create an tables in database and add the required rows to get started.

### Application

[](#application)

All you need is set `name` and `language` properties of your application in `config/web.php` file.

### Mailer

[](#mailer)

To receive messages from site you need to configure `mailer` property in `config/web.php` file.

For more information see [yii\\swiftmailer\\Mailer](http://www.yiiframework.com/doc-2.0/yii-swiftmailer-mailer.html)

### Domain

[](#domain)

Replace `domain.com` with your domain name in `web/.htaccess` and `web/robots.txt` files.

CONTENT MANAGEMENT SYSTEM
-------------------------

[](#content-management-system)

To access content management system open `your_app/cms` page. You can change this address by modifying rule for `urlManager` in `config/web.php`.

For more information see [simple-yii2/cms](https://github.com/simple-yii2/cms).

### User management

[](#user-management)

By default there are one user with e-mail and password `admin`. After first login the system will ask you to change your password.

For more information see [simple-yii2/user](https://github.com/simple-yii2/user).

### Page content

[](#page-content)

To edit page content use `Pages` module, available from the `Modules` menu. To customize layout edit `views/layouts/main.php` file.

For more information see [simple-yii2/page](https://github.com/simple-yii2/page).

### Feedback form

[](#feedback-form)

To add feedback form use `cms\feedback\frontend\widgets\Feedback` widget. Note, that you need to set e-mail in `Feedback` module, available from the `Modules` menu.

For more information see [simple-yii2/feedback](https://github.com/simple-yii2/feedback).

### Blocks with user-defined content

[](#blocks-with-user-defined-content)

Use `Settings` module from the `Modules` menu to solve this issue. In application code block content available with `cms\settings\frontend\widgets\Settings` widget.

For more information see [simple-yii2/settings](https://github.com/simple-yii2/settings).

### Error page

[](#error-page)

Customize error page by editing `views/site/error.php` file.

### Search engine optimization

[](#search-engine-optimization)

To manage title, meta-keywords and meta-description, use the settings with `title`, `keywords` and `description` aliases.

### Disable debug in production

[](#disable-debug-in-production)

Disable debug in production in file `web/index.php`.

### Storage

[](#storage)

All uploaded files placed in `web/upload` directory. When it stored, it placed in `storage` directory. Stored files is cached in `web/public` directory.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~20 days

Total

2

Last Release

3401d ago

Major Versions

0.9.0 → 1.0.02017-01-18

### 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 (15 commits)")

---

Tags

project template

### Embed Badge

![Health badge](/badges/simple-yii2-app-single-page/health.svg)

```
[![Health](https://phpackages.com/badges/simple-yii2-app-single-page/health.svg)](https://phpackages.com/packages/simple-yii2-app-single-page)
```

PHPackages © 2026

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