lin3s/pattern-library-builder 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lin3s/pattern-library-builder

Composer 安装命令:

composer require lin3s/pattern-library-builder

包简介

Library that provides an elegant and easy way to develop a pattern library for your front-end components

README 文档

README

Library that provides an elegant and easy way to develop a pattern library for your front-end components

Features

  • YAML config driven pattern library builder
  • Opinated and extensible default template
  • Use already existing renderers to list colors, typography, iconography
  • Render twig templates in responsive viewports and with autogenerated twig "include" method and HTML output
  • Easily create your renderer to adapt it to your needs
  • Standalone PHP library with built-in Symfony integration

Installation

The easiest way to install this bundle is using Composer

$ composer require lin3s/pattern-library-builder

Documentation

All the documentation is stored in the docs folder.

Tests

This library is tested by PHPSpec, SpecBDD framework for PHP.

Run the following command to launch tests:

$ vendor/bin/phpspec run -fpretty

Also, you can easily start a simple application to test the features that the bundle provides.

$ cd tests/Application && bin/console server:start --docroot=web
$ open http://127.0.0.1:8000/design-system

Contributing

This library follows PHP coding standards, so pull requests need to execute the Fabien Potencier's PHP-CS-Fixer. Furthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order to simplify we provide a Composer script that wraps all the commands related with this process.

$ composer run-script cs

There is also a policy for contributing to this bundle. Pull requests must be explained step by step to make the review process easy in order to accept and merge them. New methods or code improvements must come paired with PHPSpec tests.

Licensing Options

License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固