Skip to content
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
3 changes: 2 additions & 1 deletion app/Livewire/ShowcaseSubmissionForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Illuminate\Support\Facades\Storage;
use Livewire\Attributes\Validate;
use Livewire\Component;
use Livewire\Features\SupportFileUploads\TemporaryUploadedFile;
use Livewire\WithFileUploads;

class ShowcaseSubmissionForm extends Component
Expand Down Expand Up @@ -152,7 +153,7 @@ public function removeExistingImage(): void

/**
* @param array<int, string> $existing
* @param array<int, \Livewire\Features\SupportFileUploads\TemporaryUploadedFile> $uploads
* @param array<int, TemporaryUploadedFile> $uploads
* @return array<int, string>
*/
protected function storeScreenshots(array $existing, array $uploads): array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ order: 100

## Requirements

1. PHP 8.3+
1. PHP 8.4+
2. Laravel 11+

If you don't already have PHP installed on your machine, the most painless way to get PHP up and running on Mac and
Expand Down
10 changes: 8 additions & 2 deletions resources/views/docs/mobile/4/getting-started/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ order: 3
## Upgrading To 4.0 From 3.x

v4's headline is [SuperNative](../architecture/super-native) — fully native UI. Most of the release is additive,
but there is **one breaking change to your dependencies**: a handful of APIs that used to be separate plugins are
now core built-ins.
but there are **two breaking changes to your dependencies**: the minimum PHP version has gone up, and a handful of
APIs that used to be separate plugins are now core built-ins.

### PHP 8.4 is now the minimum

v3 ran on PHP 8.3. `nativephp/mobile` v4 requires **PHP 8.4 or later**, so upgrade your CLI PHP before running
`composer update` or Composer will refuse to resolve. See [Environment Setup](environment-setup) for the full
list of requirements.

### Device, Dialog, File and System are now built in

Expand Down