You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chore: Fix dev env friction, bump PHP floor to 8.3, add PHP matrix (#245)
* Chore: Fix dev env friction, bump PHP floor to 8.3, add PHP matrix
- Dockerfiles now ship composer, composer.json/lock, phpstan.neon, pint.json
so composer scripts (test/analyze/format) work in-container
- CONTRIBUTING: document host-native inner loop; fix wrong service name
(web -> fpm); drop stale psalm reference; add swoole exec path
- Drop PHP 8.2 support; bump require/platform pin and FPM base image to 8.3
- CI unit job runs a matrix over PHP 8.3 / 8.4 / 8.5 with per-version
composer cache keys; coverage (pcov + clover artifact) collected on 8.3
- example/docker-compose.yml: drop deprecated version key
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Chore: Regenerate composer.lock for PHP 8.3 floor
The require.php / platform bump changed composer.json's content-hash,
so the lock was reporting out-of-date.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9. GitHub will automatically delete the branch after the merge is done. (they can still be restored).
66
66
67
-
### Testing
67
+
### Development environment
68
68
69
-
-`docker compose up -d`
70
-
-`docker compose exec web vendor/bin/phpunit --configuration phpunit.xml`
71
-
-`docker compose exec web vendor/bin/psalm --show-info=true`
69
+
The repo ships two server adapters (FPM and Swoole), each with its own container. For most inner-loop work you don't need Docker — install deps on the host and run the unit suite directly:
You can also run the unit suite and lint/analyze inside either container — `composer.json`, `phpstan.neon`, and `pint.json` are all present in the image:
If you have PHP and Composer installed on your device, you can run Utopia apps locally by downloading the `utopia-php/http` dependency using `composer require utopia-php/http` command.
271
271
272
-
> Utopia HTTP requires PHP 8.2 or later. We recommend using the latest PHP version whenever possible.
272
+
> Utopia HTTP requires PHP 8.3 or later. We recommend using the latest PHP version whenever possible.
273
273
274
274
Wonderful! 😄 You’re all set to create a basic demo app using the Utopia HTTP. If you have any issues or questions feel free to reach out to us on our [Discord Server](https://appwrite.io/discord).
0 commit comments