PHPackages                             pde159/yii2-starter-bs4 - 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. pde159/yii2-starter-bs4

ActiveProject[Framework](/categories/framework)

pde159/yii2-starter-bs4
=======================

Yii 2 Basic Project with Adminlte 3 and Bootstrap 4

1.0.0(7y ago)0571BSD-3-ClausePHPPHP &gt;=7.2.0

Since Mar 15Pushed 7y agoCompare

[ Source](https://github.com/pde159/yii2-starter-bs4)[ Packagist](https://packagist.org/packages/pde159/yii2-starter-bs4)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/pde159-yii2-starter-bs4/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (20)Versions (2)Used By (0)

Yii 2 Basic Project with Adminlte 3 and Bootstrap 4

based on Yii 2 Basic Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for rapidly creating small projects.

The template contains the following features:

- bootstrap 4
- adminlte 3.0
- fontawesome 5
- yii2-usuario forked with bs4 compatibility
- kartik widgets

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
  models/             contains model classes
  runtime/            contains files generated during runtime
  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 &gt;= 7.

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 pde159/yii2-starter-bs4 myapp

```

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

```
http://localhost/myapp/web/

```

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=yii2db',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];
```

Execute the migration:

```
php yii migrate
```

**NOTES:**

- Yii 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.
- Refer to the README in the `tests` directory for information specific to basic application tests.

BEGIN
-----

[](#begin)

Create an admin with full right role

```
php yii user/create admin@app.fr admin azerty administrators
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62f24101d9a923a603d925c0be556aa280c9cf7336ceee8e14d9646fda009ff1?d=identicon)[pde159](/maintainers/pde159)

---

Tags

frameworkyii2basicAdminLTEbootstrap4

### Embed Badge

![Health badge](/badges/pde159-yii2-starter-bs4/health.svg)

```
[![Health](https://phpackages.com/badges/pde159-yii2-starter-bs4/health.svg)](https://phpackages.com/packages/pde159-yii2-starter-bs4)
```

###  Alternatives

[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)

PHPackages © 2026

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