Qiayue Star (Contract Star) is a purchase-and-sale contract generator designed for industrial goods trading companies, and the biggest technical selling point is that it stores everything in JSON files instead of MySQL. That means you can grab this source code download package, unzip it to your web root, and have a working contract system in under 5 minutes — no database creation, no table imports, no connection config. It falls under the Other Source Code category on dajian168 and runs on plain PHP 7.4.
In testing I found the JSON-only approach genuinely convenient for small teams: contract records live in flat files, so backups are just a folder copy. The trade-off is obvious too — if you generate hundreds of contracts a day with many concurrent users, file locking becomes a bottleneck. For a trading office with 5–10 staff, it’s fine.
The workflow is built around reducing repetitive typing, and 3 features stand out.
Takeaway: if your team currently maintains contract templates in Word and re-types figures by hand, this alone removes roughly 10–15 minutes of manual work per contract.
Deployment is genuinely upload-and-use; here are the 4 steps I followed.
| Item | Requirement |
|---|---|
| Server language | PHP 7.4 |
| Database | None — JSON file storage |
| Frontend | Browser-based, responsive pages |
| Export formats | PDF, Word, PNG, direct print — 4 output modes |
Best fit: industrial goods traders, hardware suppliers, and small manufacturers that issue standardized buy/sell contracts in volume. The 4 export modes cover the real-world mix — PDF for archiving, Word for edits, PNG for chat sharing, print for wet-ink signing.
One pitfall worth flagging: since data is file-based, set up a nightly cron job to back up the data directory. If the hosting disk fails, there’s no database dump to restore from. Also confirm your PHP build has the GD/mbstring extensions enabled, or the PNG export and Chinese uppercase conversion may fail silently.
Q: Do I need to install MySQL for this contract system?
A: No. All records are stored in JSON files, so any PHP 7.4 environment works, including low-cost shared hosting.
Q: Can I import product lists from my ERP system directly?
A: Not via API, but the clipboard recognition feature parses standard table data copied from ERP or Excel — product name, spec, brand, and quantity fields map automatically in my tests.
Q: Is the admin password in the package safe?
A: The default credentials are for testing only. Change them right after deployment, and restrict backend access by IP if possible.
Original title: 契约星 工业品企业买卖合同生成管理系统源码_办公管理_搭建168
Original excerpt:
简介:
契约星 工业品企业买卖合同生成管理系统源码
一款为工业品贸易 而生的合同工具
基于 PHP + JSON 存储构建,无需数据库,上传即用。让每一份合同都规范、高效、可追溯。
填写甲方、乙方、产品明细、付款方式等信息,一键生成规范合同。甲方信息自动带出,金额自动计算并转为中文大写。
支持从 ERP 或 Excel 复制标准格式数据,自动识别产品名称、规格、品牌、数量等字段。
持 PDF、Word、PNG、打印四种导出方式,满足不同场景需求。
测试环境:PHP7.4
管理员账号:宋佳乐
管理员密码:dkewl.com
图片:
后台管理:
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.