在 SystemMenu 初始化数据中新增定时器配置(id=256)、定时器日志(id=257)、主机列表(id=258)三条菜单,确保 seed:run 后菜单自动可用 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Project Introduction
For a better development experience.
Only for developers' services, only for demand customization' services.
A rapidly developed backend management system based on ThinkPHP and Layui 2.10.
Technical exchange QQ group: 207160418
Installation tutorial
ulthon_admin uses Composer to manage project dependencies. Therefore, before using ulthon_admin, make sure your machine has Composer installed.
It is recommended to set the composer's image to the Alibaba image source
Download the installation package through git, and install dependency packages through composer
The first step is to download the installation package
git clone https://gitee.com/ulthon/ulthon_admin
Or use composer to create
composer create-project ulthon/ulthon_admin
The second step is to install dependent packages (can be ignored when created using composer)
composer install
The third step, configure `.env`
Copy `.example.env` to `.env`
Modify `env` file
[DATABASE]
TYPE=mysql
HOSTNAME=host.docker.internal
DATABASE=ulthon
USERNAME=root
PASSWORD=root
HOSTPORT=3306
CHARSET=utf8
DEBUG=true
PREFIX=ul_
Step 4, install the database
php think migrate:run
Step 5: Initialize database data
php think seed:run
Finally, run locally temporarily
php think run
This installation method is very friendly to the development experience
Download the complete package
The complete package download method is being updated.
Online installation (initialization) database
The framework does not have the function of online installation, and it will not be provided built-in in the future.
However, ulthon_admin uses the database migration tool to install the database. It does not have to be used in the command line environment. It can also be used in ordinary controllers. We provide a simple code script to demonstrate how to install it online.
How to install the database online
Why choose ulthon_admin
- No
plug-in ecologyandapplication market, no historical baggage and development baggage - Keep up to date with the latest technology stack and development ideas
- Continuously improve the development experience
- You want to make a product or customized project that can be developed and maintained in the long term
- You need a project that can reach a certain level of functional construction with simple code development
- You want a complete tutorial document
- ulthon_admin documentation will be continuously improved
- The document agrees on detailed directory specifications, code specifications, code specification management tool configuration files, etc.
- Documentation showing detailed best practices and feature use cases
- Documentation includes frequently asked questions and low-level introduction
- Standard dependency management supports streamlining and customization based on actual conditions
Site address
-
Official website: http://admin.demo.ulthon.com
-
Document address: http://doc.ulthon.com/home/read/ulthon_admin/home.html
-
Demo address: http://admin.demo.ulthon.com/admin (Account: admin, password: 123456. Note: Only permission to view information )
Code repository
- Gitee address: https://gitee.com/ulthon/ulthon_admin
Project Features
- Compatible with PHP8.1
- Minimum version PHP7.4
- Support mobile form to card conversion
- Support multiple skins
- standard
- quasi-object
- Prototype
- Sci-fi *GTK
- pixels *WIN7
- Fast CURD command line
- Generate controller, model, view and JS files with one click
- Support related queries, field settings, etc.
- Supports generating database migration code
- Supports generating property declarations for model fields
- Permission management system based on
auth- Implement
authauthority node management throughannotation - One-click update of
authpermission nodes, no need to manually enter management - Complete back-end permission verification and front page button display and hide control
- Implement
- Perfect menu management
- Management by modules
- Infinitus menu
- Menu editing will prompt
Permission Node
- Complete upload component function
- Local storage
*Alibaba Cloud OSS
recommended - Tencent Cloud COS
- Qiniuyun OSS
- Local storage
*Alibaba Cloud OSS
- Complete front-end component functions
- Re-encapsulate layui's form form, eliminating the need to manually splice data requests
- Simple and easy-to-use
picture and fileupload component - Simple and easy-to-use rich text editor
ckeditor - Re-encapsulate the pop-up layer and use it in a minimalist way
- Re-encapsulate the table to make it more comfortable to use
- Encapsulate again according to the
colsparameter of the table, provide interfaces to implement functions such asimage,switch,list, etc., and then basically expand it yourself - Generate
search formaccording to table parameters with one click, no need to write it yourself
- Use database for logging by default
- Deploy static resources to OSS with one click
- All files in the
public\staticdirectory can be deployed with one click - One configuration item switches static resources (oss/local)
- All files in the
- Upload file record management
- Customize the background path to prevent others from finding the corresponding background address
- Highly customizable
- Can streamline code functions
- Support customized deletion of unnecessary dependencies
new version update
Keep in sync with the versions of thinkPHP and layui.
In the future, whenever a new feature is implemented, a tag will be released.
The main meaning of tag is to facilitate querying documents and comparing differences. (ulthon_admin itself is for customization and will not be forced to update)
Open Source Agreement
Mulan Open Source Agreement
What is
tp6 background, thinkphp6 background, layui background, curd background
Skin Preview
Supports a variety of special effect skins, please go to Demo Site for more information
standard
Well-behaved, concise and generous, steady yet lively.

Skeuomorphism
Elegance is coming! Become an elegant programmer from now on.

Science Fiction
Suitable for night use and unconventional backend use such as Internet of Things systems, monitoring systems, and large-screen systems.

gnome
Feel the fear from gnome? A "Linux-compatible" backend framework.

Development dependencies
Basic environment
Only the most basic PHP development environment is required.
- PHP8.0 (PATH environment variable is set correctly)
- composer
- Mysql5.7+ (necessary for development)
In the development environment, it is not necessary to install nginx, apache, ftp and other software, and you can develop directly through the built-in server.
In fact, if you use SQLite to develop, you don't even want to install MySQL, but SQLite cannot adjust data tables and columns very well, so you generally use conventional databases such as MySQL.
SASS
Some underlying components in the framework use SASS features, but generally you don’t need to worry about it. If you use vscode, you can refer to the following:
Name: Live Sass Compiler
ID: glenn2223.live-sass
Description: Compile Sass or Scss to CSS at realtime.
Version: 5.5.1
Posted by: Glenn Marks
VS Marketplace link: https://marketplace.visualstudio.com/items?itemName=glenn2223.live-sass
Configuration
Configuration of liveSassCompiler in vscode:
{
"liveSassCompile.settings.includeItems": [
"/public/static/common/css/theme/*.scss",
"/public/static/plugs/lay-module/tableData/tableData.scss",
"/public/static/plugs/lay-module/tagInput/tagInput.scss",
"/public/static/plugs/lay-module/propertyInput/propertyInput.scss"
]
}