{"id":18790532,"url":"https://github.com/lin3s/patternlibrarybuilder","last_synced_at":"2025-06-25T18:33:47.724Z","repository":{"id":62517245,"uuid":"91269842","full_name":"LIN3S/PatternLibraryBuilder","owner":"LIN3S","description":"Library that provides an elegant and easy way to develop a pattern library for your front-end components","archived":false,"fork":false,"pushed_at":"2018-07-12T12:22:58.000Z","size":601,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-22T09:43:58.564Z","etag":null,"topics":["design-system","html","pattern-library","twig"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LIN3S.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-14T20:34:04.000Z","updated_at":"2021-03-08T11:36:02.000Z","dependencies_parsed_at":"2022-11-02T13:31:08.290Z","dependency_job_id":null,"html_url":"https://github.com/LIN3S/PatternLibraryBuilder","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LIN3S/PatternLibraryBuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIN3S%2FPatternLibraryBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIN3S%2FPatternLibraryBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIN3S%2FPatternLibraryBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIN3S%2FPatternLibraryBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIN3S","download_url":"https://codeload.github.com/LIN3S/PatternLibraryBuilder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIN3S%2FPatternLibraryBuilder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261931104,"owners_count":23232016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["design-system","html","pattern-library","twig"],"created_at":"2024-11-07T21:12:38.206Z","updated_at":"2025-06-25T18:33:47.442Z","avatar_url":"https://github.com/LIN3S.png","language":"PHP","readme":"# PatternLibraryBuilder\n\u003e Library that provides an elegant and easy way to develop a pattern library for your front-end components\n\n## Features\n\n* YAML config driven pattern library builder\n* Opinated and extensible default template\n* Use already existing renderers to list colors, typography, iconography\n* Render twig templates in responsive viewports and with autogenerated twig \"include\" method and HTML output\n* Easily create your renderer to adapt it to your needs\n* Standalone PHP library with built-in Symfony integration\n\n## Installation\n\nThe easiest way to install this bundle is using [Composer][1]\n```bash\n$ composer require lin3s/pattern-library-builder\n```\n\n## Documentation\n\n* First use\n    * [Installing and configuring](docs/first_use_installing_and_configuring.md)\n    * [Your first page](docs/first_use_your_first_page.md)\n* Renderers\n    * [Using renderers](docs/renderers_usage.md)\n    * [Creating custom renderers](docs/renderers_create_custom.md)\n* Theme\n    * [Customizing default theme](docs/theme_customize_default.md)\n* Symfony integration\n    * [Configuration reference](docs/symfony_configuration_reference.md)\n\n\u003e All the documentation is stored in the `docs` folder.\n\n## Tests\nThis library is tested by **[PHPSpec][2], SpecBDD framework for PHP**.\n\nRun the following command to launch tests:\n```bash\n$ vendor/bin/phpspec run -fpretty\n```\nAlso, you can easily start a simple application to test the features that the bundle provides.\n```bash\n$ cd tests/Application \u0026\u0026 bin/console server:start --docroot=web\n$ open http://127.0.0.1:8000/design-system\n```\n\n## Contributing\nThis library follows PHP coding standards, so pull requests need to execute the Fabien Potencier's [PHP-CS-Fixer][3].\nFurthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order\nto simplify we provide a Composer script that wraps all the commands related with this process.\n```bash\n$ composer run-script cs\n```\n\nThere is also a policy for contributing to this bundle. Pull requests must be explained step by step to make the\nreview process easy in order to accept and merge them. New methods or code improvements must come paired with\n[PHPSpec][2] tests.\n\n## Licensing Options\n[![License](https://poser.pugx.org/lin3s/pattern-library-builder/license.svg)](https://github.com/LIN3S/PatternLibraryBuilder/blob/master/LICENSE)\n\n[1]: http://getcomposer.org\n[2]: http://www.phpspec.net/en/stable/\n[3]: http://cs.sensiolabs.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flin3s%2Fpatternlibrarybuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flin3s%2Fpatternlibrarybuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flin3s%2Fpatternlibrarybuilder/lists"}