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
4 changes: 3 additions & 1 deletion examples/laravel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/s
## Prerequisites

- PHP
- [Composer](https://getcomposer.org/download/)
- [Composer](https://getcomposer.org/download/) 2.11 or later
- [Laravel Installer](https://laravel.com/docs/8.x#the-laravel-installer)

The `composer.json` configuration excludes package releases younger than seven days when Composer resolves new versions. Composer versions before 2.11 ignore this setting.

You can install PHP via [XAMPP](https://www.mamp.info/en/mac/), [MAMP](https://www.apachefriends.org/index.html) or [Homebrew](https://formulae.brew.sh/formula/php).

## Support, Issues and License Questions
Expand Down
9 changes: 7 additions & 2 deletions examples/laravel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"laravel/framework": "^12.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.7",
"symfony/http-foundation": "7.3.7"
"symfony/http-foundation": "^7.4.23"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[High] Update composer.lock before merging

The committed composer.lock still selects symfony/http-foundation v7.3.7, which does not satisfy the new ^7.4.23 requirement. Composer rejects this mismatch, so the README's composer install step fails on a clean checkout, and the patched dependency is not delivered.

ELI5: The two dependency lists disagree, so new users cannot install the example.

Fix: Regenerate and commit composer.lock using Composer 2.11+ with the seven-day cooldown enabled before merging. Then verify a clean composer install, run composer audit --locked, and smoke-test the viewer.

@MahmoudElsayad MahmoudElsayad Nov 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a76591b. I went with a full composer update instead of just symfony/http-foundation, because the targeted update still left 12 advisories in laravel/framework, league/flysystem and other Symfony packages. composer audit --locked is clean now, and the README steps on a clean checkout load the viewer without errors.

},
"require-dev": {
"fakerphp/faker": "^1.9.1",
Expand Down Expand Up @@ -53,7 +53,12 @@
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
"sort-packages": true,
"policy": {
"cooldown": {
"period": "7 days"
}
}
},
"prefer-stable": true
}
Loading
Loading