Giter Site home page Giter Site logo

tpadmin's Introduction

tpadmin

the admin framework based on thinkphp 5.1.

StyleCI TravisCi

安装

最方便的安装方式就是使用Composer ( https://getcomposer.org/ ),在这之前务必先搭建好thinkphp5.1项目

1、安装 Tpadmin :

$ composer require zhanghong/tpadmin

2、配置

添加行为在 application/tags.php

return [

    'app_init'     => [
        \tpadmin\behavior\Boot::class,
    ],

    // ...
];

3、初始化和数据迁移

#初始化
$ php think tpadmin:init
#安装数据库迁移扩展包
$ composer require topthink/think-migration=2.0.*
#创建Tpadmin数据表
$ php think migrate:run
#添加初始化数据
$ php think tpadmin:seed

进入tpadmin后台

打开后台地址,例如:

http://yourdomain/admin

tpadmin's People

Contributors

zhanghong avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.