PHPackages                             networkrailbusinesssystems/support-page - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. networkrailbusinesssystems/support-page

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

networkrailbusinesssystems/support-page
=======================================

Allows you quickly add a support page to your project

4.1.0(1mo ago)03.4kMITPHPPHP ^8.3

Since Jan 8Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Network-Rail-Business-Systems/support-page)[ Packagist](https://packagist.org/packages/networkrailbusinesssystems/support-page)[ Docs](https://github.com/Network-Rail-Business-Systems/support-page)[ RSS](/packages/networkrailbusinesssystems-support-page/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (19)Used By (0)

Support Page
============

[](#support-page)

[![Composer status](.github/composer.svg)](.github/composer.svg)[![Coverage status](.github/coverage.svg)](.github/coverage.svg)[![NPM status](.github/npm.svg)](.github/npm.svg)[![PHP version](.github/php.svg)](.github/php.svg)[![Tests status](.github/tests.svg)](.github/tests.svg)

Use the Support Page Library to add the following to your GOV.UK Laravel library Project:

- Admin access to create, edit and delete Support Details.
- A Support Page to display Support Details.

What's in the box?
------------------

[](#whats-in-the-box)

- Laravel 11 Blade Support Page Admin Access in the GOV.UK Design
- Laravel 11 Blade Support Page in the GOV.UK Design
- PHP 8.3

Installation
------------

[](#installation)

Via Composer: `composer require networkrailbusinesssystems/support-page`

Publish files
-------------

[](#publish-files)

All essential files are published via the command `php artisan vendor:publish --provider="NetworkRailBusinessSystems\SupportPage\Providers\SupportPageProvider" --tag="support-page"`.

This command includes the support-page tag files:

### support-page

[](#support-page-1)

This command will publish the config and database migration:

- /config/support-page.php
- /database/migrations/2023\_02\_07\_105304\_create\_support\_details\_table.php

### support-page-views

[](#support-page-views)

This command will publish the Blade views:

- /resources/views/details
- /resources/views/show.blade.php

Set-up
------

[](#set-up)

### Pre-requisites

[](#pre-requisites)

The Support Page library requires the [GOVUK Laravel Forms Route Macro](https://github.com/AnthonyEdmonds/govuk-laravel/blob/main/docs/forms.md).

### Routing

[](#routing)

A route macro is provided to handle the Support Page, and it's Admin functions. Add the following to your `routes/web.php` file:

```
Route::supportPage();
```

- Add the permission`'manage_support_page'` with admin rights.
- Add a 'Manage Support Details' link to the admin blade with the route `support-page.admin.index` and wrap the section with `@can`:

```
@can('manage_support_page')

            Manage Support Details

@endcan
```

- Register the form `SupportDetailForm::class` in the [GOVUK Config](https://github.com/AnthonyEdmonds/govuk-laravel/blob/main/docs/configuration.md).
- Update permissions and run database migrations.

Configuration
-------------

[](#configuration)

There are three configurable values in the Support-page config:

OptionTypeDefaultUsagesupport\_page\_titlestringSupportCustomise the title of the support pageenquiry\_routestringenquiryCustomise the enquiry page linkexcluded\_rolesarray\[\]Exclude these roles from being assignable contacts for Support Detailspermissionstringmanage\_support\_pagePermission to manage the support pagerole\_modelmodelSpatie\\Permission\\Models\\Role::classSet the Role Model to useuser\_modelmodelApp\\Models\\User::classSet the User Model to use

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 74.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~10 days

Total

15

Last Release

57d ago

Major Versions

0.0.0 → 1.1.02024-10-11

1.2.0 → 2.0.02025-04-14

2.0.0 → 3.0.02025-10-07

3.0.2 → 4.0.02026-02-10

PHP version history (3 changes)1.0.0PHP ^8.2

1.1.0PHP ^8.3

2.0.0PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17785811?v=4)[Anthony Edmonds](/maintainers/AnthonyEdmonds)[@AnthonyEdmonds](https://github.com/AnthonyEdmonds)

![](https://avatars.githubusercontent.com/u/124249635?v=4)[SimRoberts9](/maintainers/SimRoberts9)[@SimRoberts9](https://github.com/SimRoberts9)

---

Top Contributors

[![SimRoberts9](https://avatars.githubusercontent.com/u/124249635?v=4)](https://github.com/SimRoberts9 "SimRoberts9 (106 commits)")[![AnthonyEdmonds](https://avatars.githubusercontent.com/u/17785811?v=4)](https://github.com/AnthonyEdmonds "AnthonyEdmonds (35 commits)")[![AmbreenJamal](https://avatars.githubusercontent.com/u/26721392?v=4)](https://github.com/AmbreenJamal "AmbreenJamal (2 commits)")

---

Tags

supporthelpblade templatesupport pagehelp page

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/networkrailbusinesssystems-support-page/health.svg)

```
[![Health](https://phpackages.com/badges/networkrailbusinesssystems-support-page/health.svg)](https://phpackages.com/packages/networkrailbusinesssystems-support-page)
```

###  Alternatives

[arcanedev/support

ARCANEDEV Support Helpers

1888.2M78](/packages/arcanedev-support)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
