boardflow/boardflow-core
Composer 安装命令:
composer require boardflow/boardflow-core
包简介
Framework-agnostic PHP chess core for move validation, game state management, FEN/PGN handling, and engine integration.
关键字:
README 文档
README
⚠️ Version v0.0.0 — Work in Progress (WIP)
This package is currently under active development. Breaking changes are expected and the API is not stable yet.
📦 About
Boardflow Core is the foundational package of the Boardflow ecosystem. It provides a pure PHP implementation of chess logic, completely framework-agnostic and designed for extensibility.
The goal of this package is to handle all game rules and state management, while remaining independent from UI layers, frameworks (like Laravel), and chess engines.
🎯 Scope
This package is responsible for:
- ♟️ Chess board representation
- ♜ Piece modeling (types, colors, movement rules)
- ✅ Move validation (legal moves, illegal moves, edge cases)
- 🔁 Game state management (turns, history, undo/redo)
- 👑 Special rules:
- Castling
- En passant
- Promotion
- ⚠️ Game conditions:
- Check
- Checkmate
- Stalemate
- Draw detection
- 📄 FEN parsing and generation
- 📜 PGN parsing and export
🚫 Out of Scope
This package deliberately does not include:
- ❌ UI / rendering
- ❌ Laravel integration
- ❌ Chess engine (Stockfish, etc.)
- ❌ Networking / multiplayer
🔌 Engine Integration (Future-Proof)
Boardflow Core is designed to work with pluggable chess engines via abstraction.
This allows integration with:
- Local engines (e.g. Stockfish via CLI, but to be analysed)
- Remote APIs
- Custom engines (e.g. future
boardflow-engine)
🧱 Philosophy
- Pure PHP, no framework dependencies
- Strict typing and modern PHP (8.2+)
- Decoupled and testable architecture
- Designed for reuse across multiple environments
🛠️ Status
🚧 This project is in early development.
Things that may change:
- Public API
- Class structure
- Naming conventions
- Actually... Everything :D
📚 Roadmap (Initial, to be discussed)
- Board representation
- Piece system
- Move validation engine
- FEN support
- PGN support
- Game state manager
- Engine interface abstraction
🤝 Contributing
Not open for contributions yet — the architecture is still being defined.
📄 License
MIT
boardflow/boardflow-core 适用场景与选型建议
boardflow/boardflow-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「engine」 「core」 「chess」 「PGN」 「fen」 「board-game-framework」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 boardflow/boardflow-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 boardflow/boardflow-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 boardflow/boardflow-core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Contao Open Source CMS
A SilverStripe module to optimise the Meta, crawling, indexing, and sharing of your website content (forked from Cyber-Duck/Silverstripe-SEO)
A Processor for Markup written in PHP. Allows extraction of Markup into a data structure, orchestrated nested manipulation of said structure, and output as (optimized) Markup.
DiZed Team Core module for the Magento 2 project
Allow KoolReport to use twig template engine to render view
Simple template engine
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 54
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-11