{"id":13513340,"url":"https://github.com/aleksip/edition-php-tpl","last_synced_at":"2025-03-28T11:46:10.882Z","repository":{"id":56944178,"uuid":"120305836","full_name":"aleksip/edition-php-tpl","owner":"aleksip","description":"Pattern Lab Edition for PHPTemplate","archived":false,"fork":false,"pushed_at":"2018-02-16T10:17:53.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-10-18T23:17:52.252Z","etag":null,"topics":["drupal-7","pattern-lab","php"],"latest_commit_sha":null,"homepage":"","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/aleksip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-05T13:05:31.000Z","updated_at":"2018-02-10T13:42:00.000Z","dependencies_parsed_at":"2022-08-21T07:20:13.596Z","dependency_job_id":null,"html_url":"https://github.com/aleksip/edition-php-tpl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksip%2Fedition-php-tpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksip%2Fedition-php-tpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksip%2Fedition-php-tpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksip%2Fedition-php-tpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleksip","download_url":"https://codeload.github.com/aleksip/edition-php-tpl/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246025942,"owners_count":20711576,"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":["drupal-7","pattern-lab","php"],"created_at":"2024-08-01T04:00:53.123Z","updated_at":"2025-03-28T11:46:10.852Z","avatar_url":"https://github.com/aleksip.png","language":"PHP","funding_links":[],"categories":["External tools"],"sub_categories":["Pattern Lab"],"readme":"# Pattern Lab Edition for PHPTemplate\n\nThe Edition for PHPTemplate gives developers and designers a clean and stable base from which to develop a PHPTemplate-based pattern library.\n\n\n## Packaged Components\n\nThe Edition for PHPTemplate comes with the following components:\n\n* `pattern-lab/core`: [GitHub](https://github.com/pattern-lab/patternlab-php-core), [Packagist](https://packagist.org/packages/pattern-lab/core)\n* `aleksip/patternengine-tpl`: [GitHub](https://github.com/aleksip/patternengine-php-tpl), [Packagist](https://packagist.org/packages/aleksip/patternengine-tpl)\n* `pattern-lab/styleguidekit-assets-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-assets-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-assets-default)\n* `aleksip/styleguidekit-tpl-default`: [GitHub](https://github.com/aleksip/styleguidekit-tpl-default), [Packagist](https://packagist.org/packages/aleksip/styleguidekit-tpl-default)\n* `aleksip/plugin-data-transform`: [GitHub](https://github.com/aleksip/plugin-data-transform), [Packagist](https://packagist.org/packages/aleksip/plugin-data-transform)\n\n\n## Installing\n\nPattern Lab uses [Composer](https://getcomposer.org/) to manage project dependencies.\n\n\n### 1. Install Composer\n\nPlease follow the directions for [installing Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) on the Composer website. We recommend you [install it globally](https://getcomposer.org/doc/00-intro.md#globally).\n\n\n### 2. Install the Edition for PHPTemplate\n\nUse Composer's [`create-project` command](https://getcomposer.org/doc/03-cli.md#create-project) to install the Edition for PHPTemplate into a location of your choosing. In Terminal type:\n\n    cd install/location/\n    composer create-project aleksip/edition-php-tpl your-project-name \u0026\u0026 cd $_\n\nThis will install the Edition for PHPTemplate into a directory called `your-project-name` in `install/location/`. During the set-up process you will be asked to install an appropriate StarterKit. You will be automatically dropped into the project directory after the process is finished.\n\n\n## Updating Pattern Lab\n\nTo update Pattern Lab please refer to each component's GitHub repository. The components are listed at the top of the README.\n\n\n## Helpful Commands\n\nThese are some helpful commands you can use on the command line for working with Pattern Lab.\n\n\n### List all of the available commands\n\nTo list all available commands type:\n\n    php core/console --help\n\nTo list the options for a particular command type:\n\n    php core/console --help --[command]\n\n\n### Generate Pattern Lab\n\nTo generate the front-end for Pattern Lab type:\n\n    php core/console --generate\n\n\n### Watch for changes and re-generate Pattern Lab\n\nTo watch for changes and re-generate the front-end for Pattern Lab type:\n\n    php core/console --watch\n\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 seperate window type:\n\n    php core/console --server\n\nThen open [http://localhost:8080](http://localhost:8080) in your browser.\n\n\n### Install a StarterKit\n\nTo install a near-empty StarterKit as a starting point for your project type:\n\n    php core/console --starterkit --init\n\nTo install a specific StarterKit from GitHub type:\n\n    php core/console --starterkit --install \u003cstarterkit-vendor/starterkit-name\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksip%2Fedition-php-tpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleksip%2Fedition-php-tpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksip%2Fedition-php-tpl/lists"}