Giter Site home page Giter Site logo

tadmin's Introduction

Tadmin

一个基于ThinkPHP的一款非侵入式后台开发框架!

Latest Stable Version Total Downloads License

安装

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

1、安装Tadmin

composer require leeqvip/tadmin

2、注册服务

注册服务,在应用的全局公共文件service.php中加入:

return [
    // ...

    tadmin\TadminService::class,
];

3、执行初始化和数据库迁移:

确保数据库配置信息正确

php think tadmin:init
php think tadmin:migrate:run

进入tadmin后台

打开后台地址,例如:

http://yourdomain/tadmin

演示地址

后台http://tadmin.tech1024.com/tadmin

用户名:admin 密码:abc-123

前台http://tadmin.tech1024.com

协议

Tadmin 采用 MIT 开源协议发布。

联系

有问题或者功能建议,请联系我们或者提交PR:

tadmin's People

Contributors

leeqvip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tadmin's Issues

请问支持tp6吗?

看您代码里有支持tp6的,我用composer create-project topthink/think tp 新装了tp6.0.5
cd到tp目录下执行 composer require techone/tadmin出了个问题,是不支持tp6.0.5吗?
报错如下:
Your requirements could not be resolved to an installable set of packages.

Problem 1
- topthink/think-captcha[v2.0, ..., v2.0.1] require topthink/framework 5.1.x-dev -> found topthink/framework[5.1.x-dev] but it does not match your minimum-stability.
- topthink/think-captcha v2.0.2 requires topthink/framework 5.1.* -> found topthink/framework[v5.1.0, ..., v5.1.40] but it conflicts with your root composer.json require (^6.0.0).
- techone/tadmin v0.6.2 requires topthink/think-captcha ^2.0 -> satisfiable by topthink/think-captcha[v2.0, v2.0.1, v2.0.2].
- Root composer.json requires techone/tadmin ^0.6.2 -> satisfiable by techone/tadmin[v0.6.2].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

请问程序的具体文件目录是什么?

请问程序的具体文件目录是什么?包含Thinkphp的

注:发现数据导入时表格式不对,生成一半数据库,请查看一下;
INSERT INTO configs VALUES ('1', '站点名称', 'text', 'title', 'Tadmin - 基于ThinkPHP5.1+和AmazeUI的快速后台开发框架', 'site', '站点名称', '1', '2019-01-01 11:58:26', '2019-01-01 14:35:10');

php think tadmin:migrate:run

InvalidArgumentException
there was a problem connecting to the database:sqlstate[hy000] [2006] mysql server has gone away

Dependencies issue

Hi,
my casbin is the last stable version 2.3.0 but

Problem 1

  • casbin/think-adapter[v1.0.0, ..., v1.0.1] require casbin/casbin 1.* -> found casbin/casbin[v1.0.0, v1.0.1, v1.0.2, v1.0.3] but it conflicts with your root composer.json require (2.3.0).
  • casbin/think-adapter[v1.0.2, ..., v1.0.3] require casbin/casbin ^1.0 -> found casbin/casbin[v1.0.0, v1.0.1, v1.0.2, v1.0.3] but it conflicts with your root composer.json require (2.3.0).
  • techone/tadmin v0.6.2 requires casbin/think-adapter ~1.0 -> satisfiable by casbin/think-adapter[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
  • Root composer.json requires techone/tadmin ^0.6.2 -> satisfiable by techone/tadmin[v0.6.2].

Could not open input file: think

git clone https://github.com/techoner/tadmin.git
composer install

{11:20}/webroot/tadmin:master ✗ ➭ ls -ah
. .git .gitignore LICENSE composer.json config helper.php route vendor
.. .gitattributes .styleci.yml README.md composer.lock database resource src
{11:20}/webroot/tadmin:master ✗ ➭ php think tadmin:init

Could not open input file: think
{11:20}/webroot/tadmin:master ✗ ➭

希望出一个基于RESTful的例子

希望出一个ThinkPHP5.1使用 RESTful 方式,think-casbin权限管理的demo。看了很久的文档,还是不太明白。官方的文档写的入门门槛有点高

请教如何处理?

ThinkPHP5.1安装正常后,执行“composer require techone/tadmin”出现错误提示:
using version ^0.6.0 for techone/tadmin
./composer.json has been updated
root package ' techone/tadmin' cannot require itself in its composer.json did you accidentally name your root package after an external package?
请问这是什么原因?

我是个新手,请问能发布一个详细的教程变于学习吗?

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.