Reference
How Taphra compares
This page is for choosing a framework. It compares Taphra 1.1 with the PHP frameworks you are most likely to weigh it against, says where each of them is the stronger choice, and lists Taphra's current limits. It contains no benchmark figures; measured numbers belong with their method on the project site.
In short
#Taphra is a small full-stack framework that ships an AI layer and an MCP server next to the usual web pieces, with defaults chosen for safety. Laravel and Symfony are larger, older and better supported: they have more features, more packages, more documentation, more people who know them and long track records in production. Pick Taphra when you value a codebase you can read in full, want AI providers and MCP in the same app without assembling them, and can accept a young project with a small community. Pick Laravel or Symfony when you need their ecosystems, their tooling or their hiring pool.
Taphra next to Laravel and Symfony
#| Area | Taphra | Laravel | Symfony |
|---|---|---|---|
| Scope | Full stack in one package with seven bundled libraries | Full stack, large first-party ecosystem | Components plus a full-stack framework (Flex recipes) |
| Templates | Plain PHP views, layouts and elements; e() and escaping helpers |
Blade | Twig |
| Data layer | DataStores (one class per table) and the SqlQuery builder | Eloquent ORM | Doctrine ORM and DBAL |
| Validation | String rules (required|email|max:255), FormRequest |
Validation rules, form requests | Validator component with constraints and attributes |
| Auth | Session and JWT drivers, remember-me, TOTP, policies | Starter kits, Sanctum, Passport, Fortify, policies | Security component, voters, authenticators |
| Queues | Redis, database and Beanstalkd drivers, queue:work |
Many drivers, Horizon dashboard, batching | Messenger with transports, retries, failure handling |
| Real-time | Server-Sent Events from a controller (sse()); no WebSocket server |
Broadcasting, Reverb WebSocket server | Mercure integration |
| Long-running workers | FrankenPHP worker mode | Octane (FrankenPHP, Swoole, RoadRunner) | Runtime component (FrankenPHP, RoadRunner, Swoole) |
| Billing | Stripe provider and a null provider in taphra/billing |
Cashier (Stripe, Paddle) | Third-party bundles |
| AI providers | Anthropic, OpenAI and compatible servers, Ollama: streaming, structured output, agent loop, conversations | Packages such as Prism | Symfony AI components |
| MCP | Attribute-based tools, resources and prompts; stdio and Streamable HTTP | laravel/mcp |
The official MCP PHP SDK and its Symfony integration |
| Debugging | Whoops in development, query log, request log, optional Clockwork | Ignition, Telescope, Debugbar | Web Profiler and debug toolbar |
| Release policy | Semantic versioning from 1.0.0 | Yearly major releases with published support windows | Fixed release cycle with long-term support versions |
| Community | New (first public release) | Very large | Very large |
Features side by side
#| Feature | Taphra 1.1 | Laravel 13 | Symfony 8.2 | CodeIgniter 4.7 | Slim 4.15 |
|---|---|---|---|---|---|
| HTML templates | Plain PHP views, layouts (built in) | Blade (built in) | Twig (built in) | Views, View Parser (built in) | Twig-View, PHP-View (official package) |
| ORM and query builder | DataStores, query builder (built in) | Eloquent ORM (built in) | Doctrine ORM (built in) | Model, Query Builder (built in) | Doctrine (community) |
| Migrations | Migrations, SchemaBuilder (built in) | Migrations (built in) | Doctrine Migrations (built in) | Migrations (built in) | Phinx (community) |
| Validation | Validator, form requests (built in) | Validator, form requests (built in) | Validator component (built in) | Validation library (built in) | Respect Validation (community) |
| Login and auth | Session and JWT, TOTP, policies (built in) | Auth guards, starter kits (built in) | Security bundle (built in) | Shield (official package) | None |
| Background jobs | Queues: Redis, database, Beanstalkd (built in) | Queues (built in) | Messenger (built in) | CodeIgniter Queue (official package) | None |
| Real-time push | Server-Sent Events (no WebSockets) (built in) | Reverb (WebSockets) (official package) | Mercure (server push) (official package) | None | None |
| Admin panel | Planned for 1.2 | Nova (paid) (official package) | EasyAdmin (community) | None | None |
| OpenAPI from code | route:openapi (built in) | Scramble (community) | NelmioApiDocBundle (community) | swagger-php (community) | swagger-php (community) |
| LLM providers and agents | Anthropic, OpenAI, Ollama, agent loop (built in) | Laravel AI SDK (official package) | Symfony AI (beta) (official package) | Neuron AI (community) | Neuron AI (community) |
| MCP server | stdio and Streamable HTTP (built in) | Laravel MCP (official package) | MCP bundle (beta) (official package) | MCP PHP SDK (community) | MCP PHP SDK (community) |
| Subscription billing | Stripe (built in) | Cashier (official package) | None | None | None |
| Worker mode | FrankenPHP worker mode (built in) | Octane (official package) | Runtime, FrankenPHP worker (built in) | Worker mode (FrankenPHP) (built in) | FrankenPHP worker script (community) |
"Built in" means in the framework or its default install, "official package" a separate package by the same project, "community" a community package (the most used one we found). Checked against each project's documentation on 29 November 2026; the website's compare page links every cell to its source.
Where Laravel is the stronger choice
#- Ecosystem and productivity on CRUD-heavy products. Eloquent, Blade, Livewire, Inertia and the starter kits cover a great deal of typical product work. Taphra has no front-end integration of that depth.
- Background work at scale. Horizon, job batching, rate-limited and unique jobs, and many queue drivers. Taphra's queue covers sending work out of the request, not complex pipelines.
- Real-time. Broadcasting with Reverb gives WebSockets with a first-party server. Taphra offers Server-Sent Events only, and under php-fpm each open stream holds a worker.
- Hosting and operations. Forge, Vapor and Laravel Cloud, plus a large set of guides for every platform.
- People and learning material. Far more developers, tutorials, courses and answered questions.
Where Symfony is the stronger choice
#- Long-lived, large applications. Long-term support releases, a strict backward compatibility promise and deprecation layers make planned upgrades over many years routine.
- Architecture at scale. A compiled dependency injection container, Messenger, Workflow, the Security component and Doctrine suit large domains and large teams.
- Reusable components. Symfony components are used across the PHP world (Taphra itself uses Console, YAML and Process), so knowledge carries over.
- Tooling. The Web Profiler shows far more about a request than Taphra's development tools do.
- AI and MCP with a broad backing. Symfony AI (in beta as of November 2026) and the official MCP PHP SDK have a large community behind them.
Where Taphra fits
#- You want to read the framework. The request path, the router, the controller base class and the database layer are ordinary PHP classes. You, a reviewer or a coding agent can follow a request from
index.phpto the template. - AI is part of the app, not a side project. One provider interface for Anthropic, OpenAI (and OpenAI-compatible servers) and Ollama, with token streaming, structured output, a tool-use agent loop, conversations and prompt templates. The same controllers and DataStores can be exposed to MCP clients.
- Safe defaults matter to you. Production mode unless
APP_ENVsays otherwise, CSRF checks on every state-changing request, bound query values, escaping helpers, HttpOnly and SameSite session cookies, and an MCP HTTP endpoint that refuses requests until you configure access. See Authentication and Security. - Small apps, APIs and internal tools where a full ecosystem is more than you need and one
composer create-projectgives you routing, views, a database layer, auth, queues, email and localisation.
Other options
#- Slim, Mezzio and other micro-frameworks give you routing and PSR-15 middleware and leave the rest to you. Choose one when you want to assemble every part yourself; Taphra already includes the parts.
- CodeIgniter and Yii are mature full-stack frameworks with long histories and established communities. Taphra's differences are its AI and MCP layer and its defaults, not a broader feature set.
- Outside PHP. Python has the widest AI ecosystem (model tooling, vector stores, evaluation). Node.js and Go handle many concurrent connections in one process, which matters for WebSockets and streaming fan-out. Rails with Hotwire offers reactive server-rendered pages with little JavaScript. If those needs dominate, those stacks fit better than any PHP framework.
Next to Rails, Django, FastAPI and NestJS
#| Feature | Taphra 1.1 | Rails 8.1 | Django 6.1 | FastAPI 0.165 | NestJS 12.6 |
|---|---|---|---|---|---|
| HTML templates | Plain PHP views, layouts (built in) | Action View (ERB) (built in) | Django templates (built in) | Jinja2 via Starlette (built in) | Express or Fastify view engine (community) |
| ORM and query builder | DataStores, query builder (built in) | Active Record (built in) | Django ORM (built in) | SQLModel (official package) | TypeORM, Prisma, others (community) |
| Migrations | Migrations, SchemaBuilder (built in) | Migrations (built in) | Migrations (built in) | Alembic (community) | TypeORM migrations (community) |
| Validation | Validator, form requests (built in) | Validations (built in) | Forms, validators (built in) | Pydantic (built in) | ValidationPipe (built in) |
| Login and auth | Session and JWT, TOTP, policies (built in) | Authentication generator (built in) | django.contrib.auth (built in) | Security utilities only (built in) | @nestjs/authentication (official package) |
| Background jobs | Queues: Redis, database, Beanstalkd (built in) | Active Job, Solid Queue (built in) | Tasks API, no worker (built in) | Background tasks, in-process (built in) | @nestjs/bullmq (official package) |
| Real-time push | Server-Sent Events (no WebSockets) (built in) | Action Cable (built in) | Channels (official package) | WebSockets (built in) | WebSocket gateways (official package) |
| Admin panel | Planned for 1.2 | ActiveAdmin (community) | Django admin (built in) | SQLAdmin (community) | AdminJS (community) |
| OpenAPI from code | route:openapi (built in) | rswag (community) | drf-spectacular (community) | Automatic (built in) | @nestjs/swagger (official package) |
| LLM providers and agents | Anthropic, OpenAI, Ollama, agent loop (built in) | RubyLLM (community) | LangChain (community) | LangChain (community) | @nestjs/ai (0.x) (official package) |
| MCP server | stdio and Streamable HTTP (built in) | MCP Ruby SDK (community) | MCP Python SDK (community) | FastMCP (community) | @nestjs/mcp (0.x) (official package) |
| Subscription billing | Stripe (built in) | Pay (community) | dj-stripe (community) | None | None |
| Worker mode | FrankenPHP worker mode (built in) | Long-running by default | Long-running by default | Long-running by default | Long-running by default |
Taphra's current limits
#- A young public project. 1.0.0 is the first public release. There are few third-party packages, tutorials or answered questions yet.
- Synchronous requests. Under php-fpm a request holds a worker until it finishes, including a Server-Sent Events stream. FrankenPHP worker mode removes the per-request boot, not that constraint. There is no WebSocket server.
- The data layer is simpler than an ORM. DataStores cover one-table CRUD, relations, eager loading, scopes and casts; complex object graphs are more work than with Eloquent or Doctrine.
- SQL Server support is generated SQL covered by unit tests of that SQL, not tests against a running server. SQLite, PostgreSQL and MySQL/MariaDB are tested against real servers.
- No front-end kit. Views are plain PHP templates and front-end builds are yours. A generated admin panel is planned for 1.2.
- The AI app builder (
php taphra ai:build) is a preview feature: it works, and its behaviour may still change in minor releases. See AI builder.
The changelog lists the known limitations of each release.