定制 phlo/tech 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phlo/tech

最新稳定版本:v0.9.0

Composer 安装命令:

composer require phlo/tech

包简介

Phlo — a compiled PHP framework with threaded runtime on FrankenPHP

README 文档

README

A programming language and engine built on top of PHP 8+, designed to create compact, clear and performant web apps. Short code, high expressiveness — minimal syntax, no semicolons, compact routes.

Install

composer require phlo/tech

Requires PHP 8.1+.

What is Phlo?

A .phlo file compiles to a native PHP class. Properties, methods, views, routes, styles and scripts live together in a single file per component. The transpiler generates PHP classes, JavaScript bundles and CSS stylesheets automatically.

prop title = 'Welcome'
prop items => ['Alpha', 'Beta', 'Gamma']

method format($item) => strtoupper($item)

route GET home => view($this)

view:
<h1>$this->title</h1>
<ul>
    <foreach $this->items AS $item>
        <li>{{ $this->format($item) }}</li>
    </foreach>
</ul>

<style>
h1: color: $primary
ul {
    list-style: none
    li: padding: 0.5rem
}
</style>

Guide

Read the full language reference at phlo.tech/guide — covering syntax, routing, views, CSS, instance management, deployment and more.

License

Apache-2.0

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固