ThinkPHP Installation Guide

Project Introduction

EasyAdmin8 updates the ThinkPHP framework to 8.1 based on EasyAdmin, with a minimum PHP version requirement of 8.2

A rapid development admin panel built with ThinkPHP 8.2 and layui v2.x.

Project URL: http://easyadmin8.top

Demo URL: http://thinkphp.easyadmin8.top/admin

[If inaccessible, you can set it up locally or refer to the screenshots below]


Note:

When upgrading from ThinkPHP 8.0 to ThinkPHP 8.1, check whether the config/route.php file has the action_bind_param configuration

// Operation method parameter binding mode route get param
'action_bind_param'     => 'param',

Operation Method Parameter Binding       commit

Installation Guide

EasyAdmin8 uses Composer to manage project dependencies. Therefore, before using EasyAdmin8, make sure Composer is installed on your machine.

One-Click Installation

if [ -f /usr/bin/curl ];then curl -sSO https://easyadmin8.top/auto-install-EasyAdmin8.sh;else wget -O auto-install-EasyAdmin8.sh https://easyadmin8.top/auto-install-EasyAdmin8.sh;fi;bash auto-install-EasyAdmin8.sh

Install via git and composer

  1. Download the package
git clone https://github.com/easyadmin8/EasyAdmin8

Or

git clone https://gitee.com/easyadmin8/EasyAdmin8
  1. Install dependencies (ensure PHP version >= 8.1 and fileinfo extension is installed)

Run composer install in the root directory. If you encounter errors, use:

composer install --ignore-platform-reqs
  1. Copy .example.env to .env and modify database credentials
cp .example.env .env
  1. Configure URL rewriting (Nginx example)
  location / {

    if ( !-e $request_filename){

        rewrite ^/(.*)$ /index.php?s=$1 last;

        break;

    }
    
  }

CURD Commands

See CURD Commands

Screenshots

1

2

3

All PHP Versions

ThinkPHP

https://github.com/easyadmin8/EasyAdmin8

https://gitee.com/easyadmin8/easyAdmin8

Laravel

https://github.com/easyadmin8/EasyAdmin8-Laravel

https://gitee.com/easyadmin8/EasyAdmin8-Laravel

webman

https://github.com/easyadmin8/EasyAdmin8-webman

https://gitee.com/easyadmin8/EasyAdmin8-webman

QQ Group

EasyAdmin8-ThinkPHP QQ Group

Disclaimer

All agreements follow EasyAdmin

Before using the EasyAdmin8 admin framework, please read this disclaimer carefully and understand it thoroughly. You may choose not to use the EasyAdmin8 admin framework. By using it, you are deemed to have accepted and agreed to all terms of this disclaimer.

  • EasyAdmin8 is an open-source, free rapid development admin framework, primarily designed for convenient backend management. It respects and protects all users' privacy rights and does not steal any information from users' computers. It also does not have network transmission functions such as user data storage.

  • You promise to use the EasyAdmin8 admin framework in a lawful and reasonable manner, and not to use it for any illegal activities or activities that infringe upon the legitimate interests of others, nor to deploy it on any web platform that violates applicable laws and regulations.

  • This open-source project shall not be liable for any accidents, negligence, contract breaches, defamation, copyright or intellectual property infringement, or any resulting losses (including but not limited to direct, indirect, incidental, or consequential losses) arising from the download and use of the EasyAdmin8 admin framework.

  • Users expressly acknowledge and agree to all terms listed in this disclaimer and shall bear all risks and consequences associated with using the EasyAdmin8 admin framework. This open-source project assumes no legal liability.

  • After reading this disclaimer, any individual or organization shall legally publish, distribute, and use the EasyAdmin8 admin framework within the scope permitted by the MIT License. Any legal liability (including but not limited to civil compensation and criminal liability) resulting from violation of this disclaimer or applicable laws shall be borne by the violator.

  • If any part of this disclaimer is found to be invalid or unenforceable, the remaining provisions shall remain in full force and effect. Unenforceable provisions shall not constitute a waiver of our right to enforce them.

  • This open-source project reserves the right to unilaterally modify the terms of this disclaimer and its attachments at any time, with updates published via push notifications, web announcements, etc. Such changes shall take effect immediately upon publication without further notice. Continued use after such changes indicates that you have read, understood, and accepted the modified terms.