Download the PHP package suframe/think-admin without Composer

On this page you can find all versions of the php package suframe/think-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package think-admin

think-admin

基于thinkphp6的管理中控台库

前后端分离计划中~

文档地址:https://www.kancloud.cn/taobao/suframe
开发交流QQ群:647344518 立即加群
项目地址: https://github.com/suframe/think-admin
体验地址: http://suframe.sp7.cn/ 账户:admin,密码:admin,请勿乱更改信息 案例体验地址: http://mall.sp7.cn/admin 账户:admin,密码:admin,请勿乱更改信息,未完成开发,完成后开源

安装

注意下面这个步骤很重要

编辑文件 app/middleware.php ,return数组里面加入

然后去 config/middleware.php 里面的 priority里面加上相同的项目,这里是因为这个中间件执行比较靠前,需要提前初始化

运行:

访问

单应用: http://127.0.0.1:8000

多应用: http://127.0.0.1:8000/thinkadmin/auth/login (可自定义路由,见文档下方第四项)

预览

1

2

3

4

5

6

7

8

9

10

11

根据mysql表增删改查自动生成

当已经有数据库了,需要开发增删改查,还要去撸代码? 作为喜欢偷懒的我,当然不可能写增删改查,这辈子都不可能,我要自动生成! 一觉醒来,上帝听到我的呼唤,于是有了根据mysql表增删改查自动生成增删改查

部署: 在 config/console.php 文件增加

新建表

进入命令行,网站根目录,运行命令

进入后台,增加个菜单,注意天下icon,然后刷新下页面看看吧(接下来也会自动生成,开发中)

api接口调试

在开发接口中,经常会去调试某个接口中所执行的sql, 大多数情况下,都是去看日志,十分不方便。

为了解决这个问题,开发了这个插件,先看下效果

11

步骤 在adminapp\event.php中 subscribe栏新增

然后修改入口文件,例如public/index.php

完成。

有朋友问上面这个图的调试工具是什么,这其实是phpstrom自带功能,这里有篇文章教程http://zacms.com/index.php/archives/611/

觉得不错上方点个star, 更详细的数据库设置教程和文档参看:生成增删改文档


All versions of think-admin with dependencies

PHP Build Version
Package Version
Requires topthink/think-view Version ^1.0
suframe/form Version ^1.0
myclabs/php-enum Version ^1.7
topthink/think-migration Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package suframe/think-admin contains the following files

Loading the files please wait ....