cabinetoffice/laravel-govuk-frontend-preset 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cabinetoffice/laravel-govuk-frontend-preset

Composer 安装命令:

composer require cabinetoffice/laravel-govuk-frontend-preset

包简介

A Laravel (7.0+) preset for https://github.com/alphagov/govuk-frontend. It comes with basic and Auth (optional) scaffolding.

README 文档

README

For Laravel 7, use the latest version of this preset - composer require cabinetoffice/laravel-govuk-frontend-preset

For Laravel 6, use the version tagged as 1.0.3 - composer require cabinetoffice/laravel-govuk-frontend-preset:1.0.3

Using Laravel 5.x? See below

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.

See live examples of GOV.UK Frontend components, and guidance on when to use them in your service, in the GOV.UK Design System.

We suggest you read the GOV.UK Design System for full guidance.

Current version: GOV.UK Frontend 3.8.1

Usage

  1. Fresh install Laravel and cd to your app directory.
  2. Install this preset via composer require cabinetoffice/laravel-govuk-frontend-preset. Laravel will automatically discover this package. You do not need to register the service provider.
  3. Use php artisan ui govuk for the basic GOV.UK Frontend preset OR use php artisan ui govuk-auth for the basic preset, auth route entry and GOV.UK Frontend auth views in one go.
  4. npm install && npm run dev
  5. You may need to carry out additional configuration and database migration depending on your set up.
  6. php artisan serve to run server and test preset.

Laravel 5.x

If you want use GOV.UK Frontend for Laravel 5.x, you can use this original preset, maintained by Luke Vincent from DfT.

Maintainers

The preset has been developed by Digital Communication, Cabinet Office and No10 Communication.

Contributing

If you want to contribute, please do so with a pull request.

Security Vulnerabilities

If you discover vulnerability with this preset, please send an email to webmaster@cabinetoffice.gov.uk.

If you discover a security vulnerability within Laravel, please send an email to Taylor Otwell at taylor@laravel.com.

License

Crown Copyright, 2020.

统计信息

  • 总下载量: 230
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固