PHPackages                             piantgrunger/yii2-single-app-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. piantgrunger/yii2-single-app-template

ActiveProject[Framework](/categories/framework)

piantgrunger/yii2-single-app-template
=====================================

Yii 2 Single AdminLTE Project Template

1491PHP

Since Nov 24Pushed 8y ago2 watchersCompare

[ Source](https://github.com/piantgrunger/Yii2-Single-App-Template)[ Packagist](https://packagist.org/packages/piantgrunger/yii2-single-app-template)[ RSS](/packages/piantgrunger-yii2-single-app-template/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

YII2 Single Application Template
================================

[](#yii2-single-application-template)

Admin LTE Build in Template in Single YII2 template project
-----------------------------------------------------------

[](#admin-lte-build-in-template-in-single-yii2-template-project)

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

[](#directory-structure)

- assets/ contains assets definition
- commands/ contains console commands (controllers)
- config/ contains application configurations
- controllers/ contains Web controller classes
- mail/ contains view files for e-mails
- migrations/ contains database migrations
- models/ contains model classes
- runtime/ contains files generated during runtime
- template/ contains template files for GII and AdminLTE template
- tests/ contains various tests for the basic application
- vendor/ contains dependent 3rd-party packages
- views/ contains view files for the Web application
- 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, you may install it by following the instructions at getcomposer.org.

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

> php composer.phar global require "fxp/composer-asset-plugin:~1.1.0
>
> php composer.phar create-project --prefer-dist --stability=dev piantgrunger/yii2-single-app-template single

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

[](#configuration)

Database
--------

[](#database)

Create a new database and adjust the components\['db'\] configuration the file config/db.php with real data, for example:

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

Apply migrations with console command
-------------------------------------

[](#apply-migrations-with-console-command)

yii migrate

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

NOTES:
------

[](#notes)

there is build in user and password in this application : username = admin password = admin1234 Check and edit the other files in the config/ directory to customize your application as required. Refer to the README in the tests direcotry for information specific to basic application tests.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15101734?v=4)[Alfian Naufal](/maintainers/piantgrunger)[@piantgrunger](https://github.com/piantgrunger)

---

Top Contributors

[![piantgrunger](https://avatars.githubusercontent.com/u/15101734?v=4)](https://github.com/piantgrunger "piantgrunger (19 commits)")

---

Tags

adminltebahasa-indonesiagiirbactemplateyii-miminyii2

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M831](/packages/laravel-socialite)[laravel/dusk

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

1.9k38.6M289](/packages/laravel-dusk)[pinguo/php-msf

Pinguo Micro Service Framework For PHP

1.7k4.2k](/packages/pinguo-php-msf)[nineinchnick/edatatables

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

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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