lukevincent / laravel-govuk-preset
A Laravel preset for https://github.com/alphagov/govuk-frontend, including optional auth scaffolding.
Package info
github.com/lukevincent/laravel-govuk-preset
Language:HTML
pkg:composer/lukevincent/laravel-govuk-preset
v1.0.0
2020-02-05 16:06 UTC
This package is auto-updated.
Last update: 2026-03-07 06:23:17 UTC
README
A Laravel front-end scaffolding preset for GOV.UK Frontend.
GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
Current version: GOV.UK Frontend 2.11.0
Usage
- Fresh install Laravel >= 5.8.0 and cd to your app.
- Install this preset via
composer require lukevincent/laravel-govuk-preset. Laravel will automatically discover this package. No need to register the service provider. - Use
php artisan preset govukfor the basic GOV.UK Frontend preset OR usephp artisan preset govuk-authfor the basic preset, auth route entry and GOV.UK Frontend auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.php) npm install && npm run dev- Configure your favorite database (mysql, sqlite etc.)
php artisan migrateto create basic user tables.php artisan serve(or equivalent) to run server and test preset.
GOV.UK Frontend resources
A Quick-start guide is provided by the GOV.UK Frontend maintainers. As well as a design system containing background research, styles, components, patterns and community links.