Meet Prisma PHP v3 🚀
June 19, 2025 · by Abraham Jefferson
What’s New in v3?
1. Wave 2.0 – Next-Gen Reactivity 🌊
- Finer-grained updates: Only the exact DOM nodes that change will re-render.
- Dependency tracking: No more stale computations; automatic cleanup of unused effects.
- Batching & scheduling: Group updates within animation frames for jank-free UIs.
“Upgrading from v2→v3 felt like switching from a bicycle to a rocket!” — Early adopter feedback
2. Enhanced VSCode Extension đź”§
- JSX-style PHPX validation: Instant linting of
<Component />
tags. - Attribute IntelliSense: Auto-complete for all built-in Prisma PHP props (
pp-bind
,pp-if
,pp-fetch
, …). - Error code insights: Click on an error to jump to docs or see quick-fix suggestions.
3. Enterprise ACL & Permissions 🛡️
Built-in SQL schema and helper methods:
Auth->signIn($data, ?string $tokenValidity = null)
Auth->signOut(?string $redirect = null)
UI component <PermissionManager />
for drag-and-drop role assignment.
4. Performance Optimizations ⚡
- Lazy loading of dynamic modules via PPHP Suspense.
- Tree-shaking on your production bundle to keep output under 30 KB.
- Database queries now support
createMany
&upsertMany
natively, slashing round-trips.
Upgrading from v2
- Install
npx pp update project
- Rebuild your assets
npm run dev
- Adjust your imports
Wave API remains backwards-compatible; you can keep existing
state()
,effect()
, andref()
calls.
Update any custom VSCode snippets to point to extension v2.0.
Tip: Check our
Upgrade Guide
for detailed steps and edge-case considerations.
What’s Next?
We’re already planning v3.1, with:
- Prisma ORM Improvement
- Expanded premium UI themes
- Community-driven plugin marketplace
Stay tuned—and thank you for being part of our journey! If you have questions or want to contribute, head over to our GitHub repo.
✨ Happy coding!
The Prisma PHP Team