Download the PHP package lin3s/pattern-library-builder without Composer
On this page you can find all versions of the php package lin3s/pattern-library-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lin3s/pattern-library-builder
More information about lin3s/pattern-library-builder
Files in lin3s/pattern-library-builder
Package pattern-library-builder
Short Description Library that provides an elegant and easy way to develop a pattern library for your front-end components
License MIT
Informations about the package pattern-library-builder
PatternLibraryBuilder
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
Documentation
- First use
- Installing and configuring
- Your first page
- Renderers
- Using renderers
- Creating custom renderers
- Theme
- Customizing default theme
- Symfony integration
- Configuration reference
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:
Also, you can easily start a simple application to test the features that the bundle provides.
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.
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
All versions of pattern-library-builder with dependencies
symfony/framework-bundle Version ^2.8 || ^3.0
symfony/templating Version ^2.8 || ^3.0