Product Details 商品属性
- Language: PHP
- Database: Mysql
- License: License-Free
- Source Code: Fully Open Source
- Specification: Full Website Source
- Delivery: Automatic (instant download after payment)
This issue recommends a wechat background management platform based on ThinkPHP – ThinkAdmin.
ThinkAdmin is a background management framework based on the latest ThinkPHP V6 development, using the most relaxed MIT protocol open source. The backend of the project relies on a self-made component ThinkLibrary v6, which encapsulates a large number of common operations, which can quickly develop conventional CURD applications without affecting the original ThinkPHP ecosystem; The background management UI is based on the latest version of the LayUI front-end framework, which loads all LayUI components by default and can be used directly in the framework.

Default integration components:
File storage engine: Support Qiniu cloud storage, local server storage, Ali Cloud OSS storage, Tencent Cloud COS storage;
Wechat development components: Support wechat service number, wechat enterprise number, wechat mini program, wechat open platform, Wechat merchant payment, Alipay payment;
Other basic components: Support interface services, form tokens, asynchronous tasks (and multi-process task response time is less than 0.5 seconds, compatible with windows and linux);
Install and run:
Most projects now have third-party plug-ins for managing their projects with Composer, and it is recommended that everyone use the Composer tool.
1. Set Aliyun Composer agent
Because domestic access Composer is slow, it is recommended to set the Ariyun Composer image. Run the following command to set ali cloud agent > # composer config – g repo. Packagist composer https://mirrors.aliyun.com/composer
2. Download the app code
># git clone https://github.com/zoujingli/ThinkAdmin
3. Install dependent components
Go to the ThinkAdmin directory and run the command to install the dependencies
># cd ThinkAdmin
># composer install
4. Import the database configuration application
Import the MySql database file and configure config/database.php
5. Debug and run PHP built-in services
># php think run // debug (CMD interface is displayed)
># php think xadmin:queue webstart // daemon (without CMD interface)
6, local development debugging access
Go to http://127.0.0.1:8000 in your browser
7. Online production environment deployment
For details, see ThinkPHP official documentation. You are advised to use the Pagoda panel to manage the Linux/Windows server O&M management panel.
8. Deploy the pseudo-static reference configuration
Pagoda integration environment, directly select mvc rules
Apache Server Configuration
The mod_rewrite-so module is loaded in the httpd.conf configuration file
AllowOverride None changes None to All
Save the following as a.htaccess file in the same directory as the application entry file
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]</IfModule>
- Nginx server configuration
if (!-e $request_filename) { rewrite ^(.*)$ /index.php$1 last;}
- IIS Server Management
If your server environment supports ISAPI_Rewrite, you can configure the httpd.ini file to add the following: RewriteRule (.*)$/index\.php\? s=$1 [I]
You can configure web.Config under a higher version of IIS to add the rewrite node in the middle:
<rewrite> <rules> <rule name="OrgPage" stopProcessing="true"> <match url="^(.*)$"/> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_HOST}" pattern="^(.*)$"/> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> </conditions> <action type="Rewrite" url="index.php/{R:1}"/> </rule> </rules></rewrite>
directory structure:
.├─ app Application base directory│ ├─ admin Background application directory│ │ ├─ controllerApplication Controller│ │ ├─route Application Route Configuration│ │ ├─span class="hljs-selector-tag">viewsys.php Module Registration File│ ├─an class="hljs-selector-tag">index Default Application Entry│ │ └─class="hljs-selector-tag">controller Controller Directory│ └─hljs-selector-tag">wechat WeChat Application Directory│ ├─s-selector-tag">command Application Command Directory│ ├─elector-tag">controller Controller Directory│ ├─-selector-tag">service Application Service Directory│ ├─lector-tag">view Application View Directory│ └─selector-tag">sys.phpModule Registration File├─ctor-tag">config Global Configuration Directory│ ├─r-tag">app.php Application Configuration│ Application Configuration│ ├─g">cachejs-selector-class">.php 缓存配Cache Configuration│ ├─ Cache Configuration │ ├─cookie-selector-class">.php CookieConfiguration│ ├─.php 数据库配Database Configuration│ ├─n│ ├─">filesystem.phpFile Disk Configuration│ File Disk Configuration│ ├─ion│ ├─lang.php 系统System Multilingual Configuration│ System Multilingual Configuration│ ├─log-selector-class">.php Global Log Configuration│ ├─g">routehljs-selector-class">.php URLand route configuration│ ├─.php SessionConfigurationview.php view configuration ├─ass="hljs-selector-tag">public website open directory │ ├─-selector-tag">static Static Resource Directory│ │ ├─ag">plugs 后台应用插件│ │ backend applicationBackend Application Plugins│ │ backend application plugins │ │ └─hemelicationBackend Application Themes│ ├─ backend application themes │ ├─loadrage direUpload Storage Directory│ ├─ upload storage directory │ ├─x 网站访问入口│ ├─ .phpWebsite test entrySessionSession cache│ └─wechatsession cache │ Session Cache│ └─ Trusted application runtime directory ├─ComposerInstalled third-party library directory
Note:
The backgroundInstalled Third-Party Library Directoryled third-party library directoryparty plug-ins based on the latest version of LayUI and RequireJs (LayUI and RequireJs are recommended).
Self-made storage engine: support seven cows cloud storage, local server storage, Ali cloud OSS storage, etc. It is recommended to use seven cows cloud storage, which is relatively affordable and has good support;
Asynchronous task components: built-in asynchronous system tasks, can achieve long-term data processing and cyclic task processing, such as: data export, data synchronization, cyclic processing, big data processing, etc.
Wechat development components: Support wechat service number, wechat mini program, wechat open platform, Wechat merchant payment, Alipay payment, etc. For specific use, refer to the document of WeChatDeveloper;
Module registration file: the sys.php below each module is the system registration file, which will affect the entire project, and can define the public interface functions in the module, and register the instructions in the module.
Remove TP official multi-application components: ThinkAdmin has built-in multi-application components, you do not need to install ThinkPHP official multi-application components (to avoid plug-in service conflicts, you need to uninstall the official multi-application plug-ins).
Interface preview:
Log in

- home page


- console





- Wechat management




- system management




You can read more on your own.
If you need project recommendations and resources, please send private letters to the author
