Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Support Policy #84

Merged
merged 2 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers;

use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
Expand All @@ -11,7 +12,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
//
$this->registerSharedViewVariables();
}

/**
Expand All @@ -21,4 +22,12 @@ public function boot(): void
{
//
}

private function registerSharedViewVariables(): void
{
View::share('discordLink', 'https://discord.gg/X62tWNStZK');
View::share('bskyLink', 'https://bsky.app/profile/nativephp.bsky.social');
View::share('openCollectiveLink', 'https://opencollective.com/nativephp');
View::share('githubLink', 'https://github.com/NativePHP');
}
}
8 changes: 4 additions & 4 deletions resources/views/components/header-banner.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ class="inline-flex items-center transition rounded hover:text-white/80 focus:out

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

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

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

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

<a href="https://github.com/nativephp" title="Source code of NativePHP">
<a href="{{ $githubLink }}" title="Source code of NativePHP">
<x-icons.github class="size-5 dark:fill-white hover:fill-[#00aaa6]"/>
</a>
</div>
Expand Down
37 changes: 37 additions & 0 deletions resources/views/docs/desktop/1/getting-started/support-policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Support Policy
order: 500
---

## Support Policy

NativePHP for Desktop is an open-source project dedicated to providing robust and reliable releases.

We are committed to supporting the two latest PHP versions, ensuring that our users benefit from the latest features, security updates, and performance improvements.

__We do not remove support for a PHP version without a major version release.__

Additionally, we support each Laravel version until it reaches its official end of life (EOL), ensuring that your applications can remain up-to-date.

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.

### PHP Versions
| NativePHP Version | Supported PHP Versions |
|-------------------|------------------------|
| ^1.0 | 8.3, 8.4 |

[PHP: Supported Versions](https://www.php.net/supported-versions.php)

NativePHP provides methods of bundling your own static PHP binaries. Support is not provided for these.

### Laravel Versions
| NativePHP Version | Supported PHP Versions |
|-------------------|------------------------|
| ^1.0 | 11.x, 12.x |

[Laravel: Support Policy](https://laravel.com/docs/master/releases#support-policy)

## Requesting Support
Support can be obtained by opening an issue on the [NativePHP/laravel]({{ $githubLink }}/laravel/issues) repository or by joining the [Discord]({{ $discordLink }}).

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.