Sentry for PHP

PHP monitoring your error log can't give you

Use the official Sentry package for plain PHP, Laravel, or Symfony with your AllStak project DSN, then correlate supported errors with the rest of your operational evidence.

Why PHP apps need real error tracking

Most PHP teams find out about production errors from a customer, not a tool. The exception is somewhere in storage/logs or a server error_log, mixed with thousands of identical lines, with no idea how many users it hit or whether it started after the last deploy. A slow Eloquent query or an unindexed lookup degrades every page that touches it — and nothing in a log file will tell you which one.

Install the official Sentry PHP package for plain PHP, Laravel, or Symfony and configure it with the DSN from AllStak project setup. Set release and environment consistently and verify a test event before rollout.

Full-stack PHP monitoring

From the first unhandled exception to the host it ran on, AllStak covers your PHP application across every layer.

Error tracking

Unhandled exceptions are captured automatically with full PHP stack traces; handled ones report through a simple Facade call — all grouped into issues you can triage.

Request monitoring

Inbound requests are captured by global middleware automatically, so per-endpoint latency and error rates show up without writing a single capture call.

Database query monitoring

Database queries are recorded via DB::listen, so the N+1 or the unindexed lookup dragging your pages down is identified instead of suspected.

Laravel & Symfony

The PHP SDK ships first-class Laravel support — auto-discovered service provider, zero code changes — and powers Symfony applications from the same package.

Infrastructure monitoring

Standard collectors report CPU, memory, disk, network, and Docker telemetry so you can separate application errors from server pressure.

Alerts & incidents

Get notified on new errors, spikes, and threshold breaches, with incidents that keep the on-call response organized instead of chaotic.

Add AllStak in minutes

Install the official Sentry Laravel package through Composer and set SENTRY_LARAVEL_DSN from AllStak project setup.

.env
composer require sentry/sentry-laravel

# .env
SENTRY_LARAVEL_DSN=${ALLSTAK_DSN}
SENTRY_ENVIRONMENT=production
[email protected]

Keep release and environment stable, use only integrations supported by the official Laravel package and AllStak compatibility matrix, and verify a test event before rollout. full setup guide · SDK reference.

What you see in AllStak

Error detail with full context

Open any issue to a full PHP stack trace, the environment and release it came from, and how many times it fired — instead of grepping a log file across servers.

Requests & queries

Per-endpoint latency next to the database queries behind it, so a slow page traces back to the exact query responsible.

Unified real-time dashboard

Errors, requests, logs, and host health for your PHP apps update live on one dashboard — in English or Arabic — so the whole team shares the same picture.

Why teams pick AllStak for PHP

  • One platform for errors, requests, queries, logs, and infrastructure — one bill, no tool sprawl.
  • Official Laravel setup through Composer, framework registration, and one AllStak project DSN.
  • Official Sentry integrations for Laravel and Symfony, both configured with the same AllStak project DSN model.
  • Automatic request and database query capture with simple env-flag control.
  • Predictable SAR pricing with a genuine free tier — start without a credit card.
  • Data stays in Saudi Arabia, with an English and Arabic dashboard for the whole team.

PHP monitoring FAQ

How do I add error tracking to a PHP app?

Run composer require sentry/sentry-laravel and set SENTRY_LARAVEL_DSN to the DSN from AllStak project setup. Use the official Laravel integration and verify a test event before rollout.

Does AllStak support Laravel and Symfony?

Yes. Use the official sentry/sentry-laravel package for Laravel or sentry/sentry-symfony for Symfony, both configured with the AllStak project DSN.

Is AllStak free for PHP?

Yes. AllStak has a free tier you can start on without a credit card, and the official Sentry PHP SDK is open source.

Is AllStak a Sentry alternative for PHP?

Yes. You get PHP error tracking with grouping and releases like Sentry, plus automatic request and database query monitoring, logs, uptime, and infrastructure on the same platform — consolidated billing in SAR instead of a stack of separate subscriptions.

Will the SDK slow down my PHP app?

The official SDK is designed for production, but overhead depends on enabled integrations and sampling. Measure your workload and enable only integrations supported by the current compatibility matrix.

Start monitoring PHP today

Install the official Sentry PHP integration, set the AllStak project DSN, and verify a compatible test error. Start free — no credit card required.