PHPackages                             hmtvltk2/yii2-simple-template - 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. hmtvltk2/yii2-simple-template

ActiveProject[Framework](/categories/framework)

hmtvltk2/yii2-simple-template
=============================

Yii 2 Simple Project Template

08PHP

Since Aug 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hmtvltk2/yii2-simple-template)[ Packagist](https://packagist.org/packages/hmtvltk2/yii2-simple-template)[ RSS](/packages/hmtvltk2-yii2-simple-template/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii 2 Simple Project Template
=============================

[](#yii-2-simple-project-template)

DIRECTORY STRUCTURE
-------------------

[](#directory-structure)

```
  config/             contains application configurations
  modules/            contains app and contrib modules
  web/                contains the entry script and Web resources

```

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

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

[](#installation)

### Install via Composer

[](#install-via-composer)

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 create-project --prefer-dist --stability=dev hmtvltk2/yii2-simple-template projectname

```

Now you should be able to access the application through the following URL, assuming `basic` is the directory directly under the Web root.

```
http://localhost

```

Or run `yii serve`, you should be able to access to application to URL:

```
http://localhost:8080

```

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

[](#configuration)

### Database

[](#database)

Edit the file `config/db.php` with real data, for example:

```
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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://www.gravatar.com/avatar/a8da38156f44e107dc2c4dbe986c17da1ae563d0d5459ab0c78e60b8289d6959?d=identicon)[hmtvltk2](/maintainers/hmtvltk2)

---

Top Contributors

[![hcmgismachine](https://avatars.githubusercontent.com/u/80099895?v=4)](https://github.com/hcmgismachine "hcmgismachine (4 commits)")[![hmtvltk2](https://avatars.githubusercontent.com/u/13516190?v=4)](https://github.com/hmtvltk2 "hmtvltk2 (4 commits)")

### Embed Badge

![Health badge](/badges/hmtvltk2-yii2-simple-template/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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