aiweline / weline-framework
微蓝WelineFramework框架!
Package info
github.com/Aiweline/WelineFramework
Type:project
pkg:composer/aiweline/weline-framework
Requires
- php: ^8.4
- ext-curl: *
- ext-dom: *
- ext-exif: *
- ext-fileinfo: *
- ext-gd: *
- ext-iconv: *
- ext-json: *
- ext-libxml: *
- ext-pdo: *
- ext-simplexml: *
- ext-zip: *
- ext-zlib: *
- ardagnsrn/ollama-php: ^1.0
- dragonmantank/cron-expression: ^3.4
- ecomphp/tiktokshop-php: ^2.6
- friendsofphp/php-cs-fixer: ^3.58
- guzzlehttp/guzzle: ^7.4
- jdorn/sql-formatter: ^1.2
- jeremykendall/php-domain-parser: ^6.0
- lipis/flag-icons: ^7.5
- mrclay/jsmin-php: ^2.4
- openai-php/client: ^0.9.2
- phpclassic/php-shopify: ^1.2
- phpoffice/phpspreadsheet: ^1.29
- phpstan/phpstan: *
- shopify/shopify-api: ^6.1.1
- weline/base: @dev
- wikimedia/less.php: ^3.1
Requires (Dev)
- pestphp/pest: ^2.0
- phpunit/phpunit: ^10.0
- symfony/var-dumper: ^6.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-16 00:33:18 UTC
README
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.
Quick Start
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; & $f
Clean source install:
git clone https://gitee.com/aiweline/WelineFramework.git weline
cd weline
composer install
php bin/w command:upgrade
Why Weline
- 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.
Read Next
- 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.
License
This repository's license is defined by the license field in composer.json.
