networkrailbusinesssystems / common
Provides common functionality for Network Rail Business Systems Laravel systems
Installs: 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/networkrailbusinesssystems/common
Requires
- php: ^8.3
- illuminate/support: ^12
Requires (Dev)
This package is auto-updated.
Last update: 2026-01-09 13:20:18 UTC
README
Common
Provides common functionality for Network Rail Business Systems Laravel systems.
What's in the box?
- Laravel 12 bootstrapping logic, i.e. HTTPS forced on for select servers.
Installation
Composer
You can install this library using Composer:
composer require networkrailbusinesssystems/common
Service Provider
The Common service provider will be automatically registered.
If you need to manually load it, you can add the following to your config/app.php file:
'providers' => [ // ... NetworkRailBusinessSystems\Common\CommonServiceProvider::class, ],
Publish files
The following can be published using php artisan vendor:publish:
| Key | Usage | Target |
|---|---|---|
| common | The Common configuration file | config/common.php |
Configuration
The config/common.php file contains the following options:
| Key | Usage | Type | Default |
|---|---|---|---|
| home | The base resource to redirect to from the root directory | string | /home |
Help and support
You are welcome to raise any issues or questions on GitHub.
If you wish to contribute to this library, raise an issue before submitting a forked pull request.
Licence
Published under the MIT licence.