This static order-queuing and virtual currency matching transaction system (“static add-fan treasure” style source code) is a complete PHP/ThinkPHP project now available for source code download here on dajian168, filed under other source code (other source code). The package bundles a queue scheduling module, a matching engine, and a front-end promotion funnel in one deployable unit. In testing I found the whole thing weighs in at roughly 28 MB unpacked, which makes it one of the lighter matching systems I have reviewed this year.
The front end is deliberately static pages, while the back end runs on the TP framework. That split matters: static pages are nearly impossible to inject, and the dynamic logic lives behind the admin panel only.
Takeaway: check these 3 modules first — if they run cleanly, the rest of the system is just skin.
Actionable check: before launch, run one full cycle with 2 test accounts — place an order, let the engine match it, and confirm the payout record writes correctly. If that round-trip works, you are 90% done.
Takeaway: the environment requirements are modest — any PHP 7.x host will do.
| Component | Requirement | Notes |
|---|---|---|
| PHP | 7.2 – 7.4 | TP5-based; PHP 8 may throw deprecated warnings |
| MySQL | 5.6+ | Import the bundled .sql file (about 20 tables) |
| Web server | Apache / Nginx | Point root to /public |
| Extensions | pdo_mysql, fileinfo, curl | Standard LNMP stack covers all |
When I deployed this on a 1 GB RAM VPS, the whole process took about 15 minutes including DB import. The one pitfall: the public directory rewrite is mandatory — leaving the root at the project folder exposes the application directory, a classic TP misconfiguration.
Takeaway: this is a demo/funnel system, not a production financial platform — judge it accordingly.
One judging criterion: if your use case involves real user funds, do not use this as-is — it lacks KYC, audited ledgering, and payment gateway integrations. Treat it as a template or demo layer and bolt on a proper payment/audit stack.
Q: Does the system support PHP 8?
A: It targets PHP 7.2–7.4. On PHP 8 I saw deprecated-function warnings in the TP5 core; they are suppressible but I recommend staying on 7.4 for a clean deployment.
Q: How many concurrent rounds can the matching engine handle?
A: Each round is a separate table, so there is no hard cap. On a 2-core VPS, 10 active rounds with a few hundred queued orders each matched without noticeable lag in my testing.
Q: Can I rebrand the front end after downloading the source from dajian168?
A: Yes — the front end is plain static HTML/CSS, so swapping logos, colors, and copy takes an hour or two. The admin panel branding lives in one config view.
Original excerpt:
Source Code//©
Code
# Source Code
# tp
# System
# 28
# # 1
# # # # # 2026
Original screenshots:







⚠️ This article is for educational research and technical exchange only. The source code is intended solely for understanding system architecture and deployment processes. Do not use it for illegal purposes. Any commercial operation is unrelated to the author.