Build modular PHP business systems with clear module boundaries, generated routes, attribute-driven ORM, theme extensibility, and WLS long-running services.
Official Website · Framework Docs · Docs · Architecture · WLS · Languages · AI Engineering Entry
English | Simplified Chinese | Japanese | Korean | German | French | More languages
WelineFramework is a PHP 8.4+ framework for complex business systems. It brings module lifecycle, generated routing, ORM schema declarations, events/hooks, backend ACL, themes, internationalization, CLI operations, and WLS long-running services into one engineering model, so business capabilities can be packaged as installable, upgradeable, extensible, and verifiable modules.
WLS boundary:
php bin/w server:startstarts Weline's built-in long-running server. WLS orchestrates HTTP Workers, Session Server, Memory Server, Maintenance Worker, Dispatcher/Gateway, hot reload, and runtime governance. It is a framework runtime, not a generic HTTP debugging server. Traditional FPM deployment remains a first-class deployment path.
Linux / macOS / Git Bash:
curl -fsSL https://gitee.com/aiweline/WelineFramework/raw/master/bin/bootstrap.sh | bash -s --Windows PowerShell:
$f="$env:TEMP\weline-bootstrap.ps1"; irm 'https://gitee.com/aiweline/WelineFramework/raw/master/bin/bootstrap.ps1' -OutFile $f; & $fClean source install:
git clone https://gitee.com/aiweline/WelineFramework.git weline
cd weline
composer install
php bin/w command:upgrade- Module-native: modules own registration, configuration, permissions, menus, events, hooks, template assets, and install/upgrade flows.
- Convention-driven: controllers are discovered and routed by the framework; models declare tables, columns, and indexes through PHP attributes.
- Runtime-aware: traditional FPM and WLS long-running services coexist, covering workers, sessions, memory, maintenance tasks, and hot reload.
- Developer-operated:
bin/wcovers install, upgrade, cache, modules, migrations, routing, WLS, queue, mail, SMTP, and diagnostics.
- Simplified Chinese README: Chinese entry for local developers.
- Framework docs: developer guide and architecture documentation.
- Project docs index: repository-level documentation entry.
- Architecture overview: framework layers, runtime, routing, ORM, events, and extension model.
- WLS documentation: WLS runtime and service orchestration.
- Multilingual README index: onboarding entries for global developers.
For more product capabilities, industry scenarios, and business solutions, visit www.aiweline.com.
This repository's license is defined by the license field in composer.json.
