A satis repository for the govuk_frontend_toolkit.
Already hosted at govuk-frontend-toolkit.appspot.com.
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
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.
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
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.