Code Monkey home page Code Monkey logo

laket-admin's Introduction

laket-admin 通用PHP后台管理系统

项目介绍

  • laket-admin 是基于 Thinkphp 的 PHP 通用后台管理系统
  • 使用 layui 搭建的后台管理界面
  • 通过系统构建的插件系统完成对项目的开发
  • 插件说明文档 docs/wiki/flash.md

环境要求

  • PHP >= 8.0.0
  • Thinkphp >= 8.0
  • Fileinfo PHP Extension

截图预览

LaketAdmin menus
attach flash

更多截图 Laket Admin 系统截图

安装步骤

  1. 首先安装 thinkphp
composer create-project topthink/think laket-admin 8.* && cd laket-admin
  1. 配置数据库信息,并确认能够正常连接数据库
config/database.php
  1. 执行以下命令下载系统
composer require laket/laket-admin
  1. 然后运行下面的命令安装系统
php think laket-admin:install

运行完命令后,你可以找到 config/laket_conf.php 配置文件,重命名为 config/laket.php

  1. 后台地址 http://yourdomain.com/admin/index, 登录账号:admin 及密码 123456

插件推荐

名称 描述
系统通用配置 自定义数据配置,将配置信息统一到一个表
系统设置 添加系统的设置功能
操作日志 记录管理员在后台的操作日志
数据库管理 数据库备份、优化、修复及还原
百度编辑器 设置添加百度编辑器使用
插件禁用 禁用后插件将不能进行相关的操作
表单提交 简单的表单提交,包括 Admin 页面和用户端页面
CMS CMS 内容管理系统

注:插件目录默认为 /flashs 目录

特别鸣谢

感谢以下的项目,排名不分先后

  • topthink/framework

  • layui

  • composer/semver

开源协议

  • laket-admin 遵循 Apache2 开源协议发布,在保留本系统版权的情况下提供个人及商业免费使用。

版权

laket-admin's People

Contributors

deatil 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

Watchers

 avatar  avatar  avatar

laket-admin's Issues

Template.php第 793 行出现错误 未找到类“\Laket\Admin\View\Laket\TagLib\Cx”

宝塔面板
PHP 8.0
Nginx 1.24.0
Composer版本2.2.4

报错
Class "\Laket\Admin\View\Laket\TagLib\Cx" not found
{
if (str_contains($tagLib, '\')) {
// 支持指定标签库的命名空间
$className = $tagLib;
$tagLib = substr($tagLib, strrpos($tagLib, '\') + 1);
} else {
$className = '\Laket\Admin\View\Laket\TagLib\' . ucwords($tagLib);
}

    $tLib = new $className($this);

    $tLib->parseTag($content, $hide ? '' : $tagLib);
}

/**
 * 分析标签属性
 * @access public
 * @param string      $str  属性字符串
 * @param string|null $name 不为空时返回指定的属性名

框架安装 导入sql 有个错误

laket-admin/src/Support/Sql.php

117 : return implode($pure_sql, ""); 改成 return implode("",$pure_sql);

121: $pure_sql = implode($pure_sql, "\n"); 改成 $pure_sql = implode( "\n",$pure_sql);

驱动程序 [Think] 不受支持

PHP8.2
Nginx 1.24.0
thinkphp 8.0
安装完成之后提示
Driver [Think] not supported.
{
if ($this->namespace || str_contains($type, '\')) {
$class = str_contains($type, '\') ? $type : $this->namespace . Str::studly($type);

        if (class_exists($class)) {
            return $class;
        }
    }

    throw new InvalidArgumentException("Driver [$type] not supported.");
}

/**
 * 获取驱动参数
 * @param $name
 * @return array
 */
protected function resolveParams($name): array

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.