Skip to content

Commit 1bb00dc

Browse files
author
Pete Bishop
committed
Implement Support Policy
- Updated AppServiceProvider to share social links to all views - Implemented new page for desktop docs to provide overview of support policy
1 parent 2485388 commit 1bb00dc

File tree

3 files changed

+47
-5
lines changed

3 files changed

+47
-5
lines changed

app/Providers/AppServiceProvider.php

+10-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace App\Providers;
44

5+
use Illuminate\Support\Facades\View;
56
use Illuminate\Support\ServiceProvider;
67

78
class AppServiceProvider extends ServiceProvider
@@ -11,7 +12,7 @@ class AppServiceProvider extends ServiceProvider
1112
*/
1213
public function register(): void
1314
{
14-
//
15+
$this->registerSharedViewVariables();
1516
}
1617

1718
/**
@@ -21,4 +22,12 @@ public function boot(): void
2122
{
2223
//
2324
}
25+
26+
private function registerSharedViewVariables()
27+
{
28+
View::share('discordLink', 'https://discord.gg/X62tWNStZK');
29+
View::share('bskyLink', 'https://bsky.app/profile/nativephp.bsky.social');
30+
View::share('openCollectiveLink', 'https://opencollective.com/nativephp');
31+
View::share('githubLink', 'https://github.com/NativePHP');
32+
}
2433
}

resources/views/components/header-banner.blade.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ class="inline-flex items-center transition rounded hover:text-white/80 focus:out
3434

3535
<div class="hidden lg:flex items-center justify-end space-x-5">
3636

37-
<a href="https://bsky.app/profile/nativephp.bsky.social" title="Bluesky">
37+
<a href="{{ $bskyLink }}" title="Bluesky">
3838
<x-icons.bluesky class="size-5 text-black dark:invert hover:text-[#00aaa6] hover:invert-0"/>
3939
</a>
4040

41-
<a href="https://discord.gg/X62tWNStZK" title="Go to discord server">
41+
<a href="{{ $discordLink }}" title="Go to discord server">
4242
<x-icons.discord class="size-5 text-black dark:text-white hover:text-[#00aaa6]"/>
4343
</a>
4444

45-
<a href="https://opencollective.com/nativephp" title="NativePHP on LinkedIn">
45+
<a href="{{ $openCollectiveLink }}" title="NativePHP on LinkedIn">
4646
<x-icons.opencollective class="size-5 text-black dark:invert hover:text-[#00aaa6] hover:invert-0"/>
4747
</a>
4848

49-
<a href="https://github.com/nativephp" title="Source code of NativePHP">
49+
<a href="{{ $githubLink }}" title="Source code of NativePHP">
5050
<x-icons.github class="size-5 dark:fill-white hover:fill-[#00aaa6]"/>
5151
</a>
5252
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Support Policy
3+
order: 500
4+
---
5+
6+
## Support Policy
7+
8+
NativePHP for Desktop is an open-source project dedicated to providing robust and reliable releases.
9+
10+
We are committed to supporting the two latest PHP versions, ensuring that our users benefit from the latest features, security updates, and performance improvements.
11+
12+
__We do not remove support for a PHP version without a major version release.__
13+
14+
Additionally, we support each Laravel version until it reaches its official end of life (EOL), ensuring that your applications can remain up-to-date.
15+
16+
Our support policy reflects our commitment to maintaining high standards of quality and security, providing our users with the confidence they need to build and deploy their applications using NativePHP for Desktop.
17+
18+
### PHP Versions
19+
| NativePHP Version | Supported PHP Versions |
20+
|-------------------|------------------------|
21+
| 1.0.0 and earlier | 8.2, 8.3, 8.4 |
22+
23+
NativePHP provides methods of bundling your own static PHP binaries. Support is not provided for these.
24+
25+
### Laravel Versions
26+
| NativePHP Version | Supported PHP Versions |
27+
|-------------------|------------------------|
28+
| 1.0.0 and earlier | 11.x, 12.x |
29+
30+
## Requesting Support
31+
Support can be obtained by opening an issue on the [NativePHP/laravel]({{ $githubLink }}/laravel/issues) repository or by joining the [Discord]({{ $discordLink }}).
32+
33+
When requesting support, it is requested that you are using a supported version. If you are not, you will be asked to upgrade to a supported version before any support is provided.

0 commit comments

Comments
 (0)