aiweline/weline-framework

微蓝WelineFramework框架!

Maintainers

Package info

github.com/Aiweline/WelineFramework

Homepage

Type:project

pkg:composer/aiweline/weline-framework

Transparency log

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1


README

WelineFramework cover

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

PHP 8.4+ Composer 2.7+ Runtime FPM + WLS i18n first License proprietary

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:start starts 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/w covers install, upgrade, cache, modules, migrations, routing, WLS, queue, mail, SMTP, and diagnostics.

Read Next

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.