Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

PurpleBooth/govuk_frontend_toolkit_composer

Repository files navigation

GOV.UK Frontend Toolkit

A satis repository for the govuk_frontend_toolkit.

Already hosted at govuk-frontend-toolkit.appspot.com.

Installing

Add the repository to composer.json:

{
    "repositories": [
        {
            "type": "composer",
            "url": "https://govuk-frontend-toolkit.appspot.com"
        }
    ]
}

Add the package:

composer.phar require alphagov/govuk_frontend_toolkit:dev-master

Usage

The alphagov/govuk_frontend_toolkit package is a component-installer component. See the component-installer project for details on how to change the directory it installs JS and SASS files to.

Symfony

An example configuration for Symfony would be the following config in your composer.json

"config": {
    "component-dir": "web/components",
    "component-baseurl": "/components"
}

If you ran the require step before adding this configuration, update.

composer.phar update

JS and SASS is installed to web/components/govuk_frontend_toolkit

Updating the satis repository

For your convenience this satis repository is hosted on google app engine. However feel free to host it wherever you'd like. See the satis page for more details.

About

Source code for composer repository for the govuk_frontend_toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published