{"id":20766772,"url":"https://github.com/chapter-three/cthreem-pattern-lab","last_synced_at":"2025-10-12T10:07:33.131Z","repository":{"id":144983599,"uuid":"138938130","full_name":"chapter-three/cthreem-pattern-lab","owner":"chapter-three","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-27T22:12:32.000Z","size":258,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-22T08:24:05.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chapter-three.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-27T22:11:46.000Z","updated_at":"2018-06-27T22:12:34.000Z","dependencies_parsed_at":"2023-04-20T10:01:26.937Z","dependency_job_id":null,"html_url":"https://github.com/chapter-three/cthreem-pattern-lab","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/chapter-three/cthreem-pattern-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chapter-three%2Fcthreem-pattern-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chapter-three%2Fcthreem-pattern-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chapter-three%2Fcthreem-pattern-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chapter-three%2Fcthreem-pattern-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chapter-three","download_url":"https://codeload.github.com/chapter-three/cthreem-pattern-lab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chapter-three%2Fcthreem-pattern-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011042,"owners_count":26084863,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-17T11:26:02.094Z","updated_at":"2025-10-12T10:07:33.109Z","avatar_url":"https://github.com/chapter-three.png","language":"PHP","readme":"# Pattern Lab for the CThreem Drupal 8 theme\n\nThis is a fork of the [Standard Edition for Drupal](https://github.com/pattern-lab/edition-php-drupal-standard), but modified to be used along side Chapter Three's [CThreem](https://github.com/chapter-three/cthreem) Drupal 8 theme.\n\nThe Standard Edition for Drupal gives developers and designers a clean and stable base from which to develop a Drupal compatible pattern library.\n\n## Prerequistes\n\n- [`composer`](https://getcomposer.org)\n\n## First Time Install\n\nTypically, you'll want to have Pattern Lab files placed inside the theme in a directory called `pattern-lab`. To do so (and it doesn't already exist), from the root of the theme directory:\n\n```bash\ncomposer create-project chapter-three/cthreem-pattern-lab pattern-lab\n```\n\nFor convenience, it's nice to surface the `pattern-lab/source` directory since you'll be working in it often. Assuming you want a directory called `components` (and it doesn't already exist):\n\n```bash\nmv pattern-lab/source components\nln -s components pattern-lab/source\n```\n\n## Using It\n\nAfter installing and committing, others cloning the repo need to run `composer install` to install dependencies.\n\n## Helpful Commands\n\nThese are some helpful commands you can use on the command line for working with Pattern Lab.\n\n### One line start\n\nThis will compile PL and watch for changes while running the local server:\n\n    composer start\n\n### Generate Pattern Lab\n\nTo generate the front-end for Pattern Lab type:\n\n    php core/console --generate\n\n### Start a server to view Pattern Lab\n\nYou can use PHP's built-in web server to review your Pattern Lab project in a browser. In a separate window type:\n\n    php core/console --server\n\nThen open [http://localhost:8080](http://localhost:8080) in your browser.\n\n### Updating Pattern Lab\n\n\tcomposer update\n\n## Other Documentation\n\n- [Official Docs](http://patternlab.io/docs/index.html)\n- [`pattern-lab/patternengine-twig`](https://github.com/pattern-lab/patternengine-php-twig)\n- [`aleksip/plugin-data-transform`](https://github.com/aleksip/plugin-data-transform)\n- [Twig templating language](http://twig.sensiolabs.org/documentation)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchapter-three%2Fcthreem-pattern-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchapter-three%2Fcthreem-pattern-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchapter-three%2Fcthreem-pattern-lab/lists"}