Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

Update PHP to 8.5.12 for the October 2026 security advisory (#445)

Paulo Castellano676d32891b34
diff --git a/.github/actions/setup-laravel/action.yml b/.github/actions/setup-laravel/action.yml
index 9360d5c76..9482dc183 100644
--- a/.github/actions/setup-laravel/action.yml
+++ b/.github/actions/setup-laravel/action.yml
@@ -18,7 +18,7 @@ runs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
- php-version: '8.4'
+ php-version: '8.5'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, pdo_mysql, bcmath, intl, gd, redis
coverage: none
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 44c054303..5aacd1ff1 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -1,6 +1,6 @@
# TryPost — Code Review Instructions
-Laravel 13 + Inertia 3 (Vue 3 + TypeScript) + Tailwind 4, PHP 8.4, Pest 5. Flag violations of these project conventions; cite `file:line`. Skip nits the linters (Pint/ESLint) already catch.
+Laravel 13 + Inertia 3 (Vue 3 + TypeScript) + Tailwind 4, PHP 8.5, Pest 5. Flag violations of these project conventions; cite `file:line`. Skip nits the linters (Pint/ESLint) already catch.
## Backend validation
- Validation MUST live in a `FormRequest` subclass under `app/Http/Requests/App/<Group>/` (or `Api/`), type-hinted in the controller action. Name `<Verb><Resource>Request` (e.g. `StorePostRequest`). Flag any inline `$request->validate([...])` in a controller.
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c1244046d..0ccee982c 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -26,7 +26,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
- php-version: '8.4'
+ php-version: '8.5'
- name: Install Dependencies
run: |
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 83b0d2765..e224504bd 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -7,7 +7,7 @@
# docker build --target production -t trypost:prod -f docker/Dockerfile .
# ----------------------------------------------------------------------------
-ARG PHP_VERSION=8.4
+ARG PHP_VERSION=8.5.12
ARG NODE_VERSION=22
# ----------------------------------------------------------------------------
@@ -47,7 +47,6 @@ RUN apk add --no-cache \
pdo_mysql \
gd \
zip \
- opcache \
bcmath \
exif \
pcntl \