sikessem/view
Composer 安装命令:
composer require sikessem/view
包简介
A modern, minimalist and powerful template engine to write HTML, CSS, and JS together in .vw files. Inspired by Blade, JSX and others. Built for Sikessem, but usable with any PHP project.
关键字:
README 文档
README
View is a modern, elegant, and powerful template engine. Inspired by Blade, JSX, Twig, and other popular engines, it smartly merges HTML, CSS, and JavaScript/TypeScript into .vw files, enabling structured, dynamic, and maintainable code generation.
Designed for the Sikessem ecosystem yet completely standalone, View can be integrated into any project — whether it's built with PHP, JavaScript, Python, or another language. It stands as a serious alternative to JSX/TSX or Blade/Twig, offering a clean, modular, and intuitive syntax that seamlessly bridges frontend and backend development.
Read the documentation to learn more.
An example to see how the code works :
- The
Viewcode
<html>
[lang="fr"]
{color:red;}
(
<head>
(
<meta>[charset="UTF-8"]
<title>(View source)
)
<body>
(
<p>[id="main-content"]{color:blue}(Welcome to View !)
)
)
- The equivalent
HTML5code
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"/> <title>View source</title> <style> html { color: red; } p#main-content { color: blue; } </style> </head> <body> <p id="main-content">Welcome to View !</p> </body> </html>
The equivalent PHP5 code
<?php use Sikessem\View\Document; $document = new Document('html', 5); $document->setAttribute('lang', 'fr'); $document->setProperty('color', 'red'); $document->head->meta->charset = 'UTF-8'; $document->title = 'Welcome to View !'; $p = $document->createElement('p'); $p->setAttribute('id', 'main-content'); $p->setProperty('color', 'red'); $p->setContent('Welcome to View !'); $document->prepend($p, $body); $document->save();
📖 Documentation
The full documentation for the Sikessem View can be found here.
👏 Contribution
The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.
👷 Code of Conduct
Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
👥 Contributing Guide
Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.
🔒️ Good First Issues
We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
💬 Discussions
Larger discussions and proposals are discussed in Sikessem's GitHub discussions.
🔐 Security Reports
If you discover a security vulnerability within any of Sikessem's projects, please email SIGUI Kessé Emmanuel at contact@sigui.ci. All security vulnerabilities will be promptly addressed.
📄 License
View is licensed under the MIT License - see the LICENSE file for details.
Made with ❤︎ by @siguici.sikessem/view 适用场景与选型建议
sikessem/view 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「templating」 「php」 「javascript」 「css」 「template」 「components」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sikessem/view 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sikessem/view 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sikessem/view 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shoot aims to make providing data to your templates more manageable
Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.
Caching and compression for Twig assets (JavaScript and CSS).
A pretty nice way to expose your translation messages to your JavaScript.
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.
PHP client for the Google Closure Compiler API in one file.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-11