This is a full trading platform bundle: two frontends, spot, margin, second-contract options, and a Laravel/Vue admin backend — roughly 10 business modules in one package.
When I opened the package, the first thing worth noting is the stack split: Laravel on the PHP side, Vue2 for the user-facing trading UI, and Socket.IO plus Workerman handling the realtime push layer. That separation matters — quote updates (K-line, order book depth, ticker) ride on WebSocket instead of AJAX polling, which in testing kept latency in the low hundreds of milliseconds even with three browser tabs open on one demo coin pair.
The download page here on dajian168 includes the complete set: user trading frontend, admin backend, realtime quote service, and the SQL dump. No stripped demo tables — the member/VIP, wealth-management, and asset transfer modules all have their migration data.
Three independent trading markets share one wallet system, and the contract module is the one you should stress-test first.
The actionable takeaway: before launch, run the contract settlement timer against a simulated price feed for at least 24 hours. In testing I found that if the Workerman quote process restarts mid-cycle, unsettled contracts need a manual re-run from the backend — there is a “re-settle” button, but you have to know it exists. Check queue:work and the timer process are both supervised (supervisor or systemd) or settlement will silently stall.
With the right environment pre-installed, deployment took me about 40 minutes; the quote service is where most people get stuck.
.env file.composer install and php artisan migrate --seed if you want a clean schema instead of the dump.npm install && npm run build) or use the pre-compiled dist folder included in the package.php think workerman start -d — this is the step people miss, and without it the K-line page just spins.| Component | Version / Requirement |
|---|---|
| PHP | 7.4 or 8.0, pcntl + redis extensions |
| MySQL | 5.7+ (8.0 tested fine) |
| Redis | Required — quotes cache and queue |
| Node.js | 14+ for frontend build only |
| Realtime layer | Workerman + Socket.IO |
Pitfall worth flagging: the two frontends are behind separate routes with their own nginx rules. If you deploy only one vhost, the second frontend returns 404 on deep links. Configure both location blocks up front.
Best for learning exchange architecture or building a customized platform; not a plug-and-play production exchange.
Suitable projects: a white-label style trading site for a specific region, a demo/education platform for teaching order-matching concepts, or a base for secondary development where you swap the quote source for a real market data API. The multi-language frontend (i18n files per module) makes localization straightforward — I counted language packs under 6 directories in the lang folder.
Who should pass: anyone expecting production-grade risk control, KYC flows, or liquidity aggregation out of the box. Those are either stubbed or simplified here. That’s normal for a source code download of this type, but judge it as a development foundation, not a finished product. Compliance responsibility stays entirely with whoever deploys it.
Practical judging criterion: if your goal is learning how spot + margin + options coexist in one Laravel codebase, this package is genuinely useful. If your goal is live trading with real user funds within a week — you’ll need to budget serious hardening time on the wallet and settlement modules first.
Q: Does the second-contract module use real market prices or a controlled feed?
It reads whatever quote source the Workerman process is configured with. The package ships with a simulated/demo data feed; connecting a real API means editing the quote worker class — about one file, but you must also review settlement logic against your data source’s tick timing.
Q: Can I run only the spot market and disable margin and contracts?
Yes. Each market is toggled per trading pair in the admin backend. Unpublish the pair entries for margin/contract markets and the frontend menus hide accordingly — no code changes needed.
Q: Is the source code obfuscated or fully open for modification?
Fully open PHP/Vue source, no ionCube-style encryption found in the files I inspected. The dajian168 package includes backend controllers, Vue components, and SQL, so secondary development is straightforward.
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.