sitegeist/fluid-styleguide
Composer 安装命令:
composer require sitegeist/fluid-styleguide
包简介
Living styleguide for Fluid Components
关键字:
README 文档
README
Fluid Styleguide is a design collaboration tool for TYPO3 projects. It supports frontend developers in creating reusable components and encourages effective communication across all project stakeholders.
Target Groups
Fluid Styleguide can be a useful tool for all project stakeholders:
- designers and frontend developers can improve their development and QA workflows
- frontend, backend and integration discuss and coordinate data structures and interfaces between the stacks
- project managers and product owners see the current state of the project's components
- clients get more transparency of the project status
Features
- visualization of project components
- isolated development of components
- responsive testing
- integrated component documentation
- support for multiple languages
- support for frontend assets provided by TYPO3's asset collector
- shows code quality problems based on fluid-components-linter
- basic skinning to fit the project's brand colors
- zip download
- easy and flexible configuration via yaml file
- live editing of example data [BETA]
Getting Started
Just follow these simple steps to get started with the styleguide:
-
Install Fluid Styleguide
via composer:
composer require sitegeist/fluid-styleguideor download the extension from TER:
-
Test Fluid Styleguide with demo components
Just open the page
/fluid-styleguide/in your TYPO3 installation:https://my-domain.tld/fluid-styleguide/
To add your own components to the styleguide, just follow these additional steps:
-
Configure Fluid Components
Make sure to define the component namespace in your ext_localconf.php:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['fluid_components']['namespaces']['VENDOR\\MyExtension\\Components'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('my_extension', 'Resources/Private/Components');
Use your own vendor name for
VENDOR, extension name forMyExtension, and extension key formy_extension. -
Configure your frontend assets
Create a styleguide configuration file in your extension or sitepackage.
Configuration/Yaml/FluidStyleguide.yaml:
FluidStyleguide: ComponentAssets: Packages: 'Vendor\MyExtension\Components': Css: - 'EXT:my_extension/Resources/Public/Css/Main.min.css' Javascript: - 'EXT:my_extension/Resources/Public/Javascript/Main.min.js'
Use your own vendor name for
VENDOR, extension name forMyExtension, and extension key formy_extension. Adjust the paths to the assets according to your directory structure. -
Start building your own components using Fluid Components and fixture files
If you have any questions, need support or want to discuss components in TYPO3, feel free to join #ext-fluid_components.
Documentation
License
This project is licensed under the GPL-3.0-or-later license. See the LICENSE file for details.
The project includes third-party dependencies that are distributed under their respective open-source licenses:
@sitegeist/vitesse — MIT License iframe-resizer — GPL-3.0 License
All bundled assets remain subject to the licenses of their original authors.
sitegeist/fluid-styleguide 适用场景与选型建议
sitegeist/fluid-styleguide 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 239.88k 次下载、GitHub Stars 达 16, 最近一次更新时间为 2019 年 09 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「template」 「components」 「html」 「typo3」 「styleguide」 「fluid」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sitegeist/fluid-styleguide 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sitegeist/fluid-styleguide 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sitegeist/fluid-styleguide 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Texy converts plain text in easy to read Texy syntax into structurally valid (X)HTML. It supports adding of images, links, nested lists, tables and has full support for CSS. Texy supports hyphenation of long words (which reflects language rules), clickable emails and URL (emails are obfuscated again
HTML and form generation
Web Font Loader gives you added control when using linked fonts via @font-face.
Simple ASCII output of array data
A modern HTML DOM parser for PHP using DOMDocument and Symfony CssSelector.
Reusable utilities library for Lacus Solutions' packages (type description, HTML escaping, random sequences)
统计信息
- 总下载量: 239.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 27
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-09-10