Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/librecmscom/yii2-admin

Yii2 项目后台系统
https://github.com/librecmscom/yii2-admin

admin admin-dashboard composer database-schema management-system yii2 yii2-admin

Last synced: about 1 month ago
JSON representation

Yii2 项目后台系统

Awesome Lists containing this project

README

        

# Administrator Extension for Yii 2

[![Latest Stable Version](https://poser.pugx.org/yuncms/yii2-admin/v/stable.png)](https://packagist.org/packages/yuncms/yii2-admin)
[![Total Downloads](https://poser.pugx.org/yuncms/yii2-admin/downloads.png)](https://packagist.org/packages/yuncms/yii2-admin)
[![Reference Status](https://www.versioneye.com/php/yuncms:yii2-admin/reference_badge.svg)](https://www.versioneye.com/php/yuncms:yii2-admin/references)
[![Build Status](https://img.shields.io/travis/yuncms/yii2-admin.svg)](http://travis-ci.org/yuncms/yii2-admin)
[![Dependency Status](https://www.versioneye.com/php/yuncms:yii2-admin/dev-master/badge.png)](https://www.versioneye.com/php/yuncms:yii2-admin/dev-master)
[![License](https://poser.pugx.org/yuncms/yii2-admin/license.svg)](https://packagist.org/packages/yuncms/yii2-admin)

## Installation

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist yuncms/yii2-admin
```

or add

```json
"yuncms/yii2-admin": "~2.0.0"
```

to the `require` section of your composer.json.

## Configuring your application

Add following lines to your main configuration file:

```php
'bootstrap' => [
'yuncms\admin\Bootstrap',
],
'modules' => [
'admin' => [
'class' => 'yuncms\admin\Module'
],
],
```

## Updating database schema

After you downloaded and configured Yii2-admin, the last thing you need to do is updating your database schema by applying the migrations:

```bash
$ php yii migrate/up
```

## License

This is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)
for details.