PHP Integration
PulsePoint is designed to be backend-agnostic, but it shines when paired with PHP. While you can manually integrate it with plain PHP or Laravel, we recommend the official solution.
Recommended Approach
Build Faster with Prisma PHP
Don't waste time writing manual glue code. Prisma PHP is the official integration layer for PulsePoint. It provides a zero-config PHP router, automatic component hydration, and seamless database access out of the box.
Read the Docs
npx create-prisma-php-app@latest
Why choose Prisma PHP?
-
Zero Configuration Automatic regex compilation for PulsePoint scripts. No complex regex setups.
-
Modern PHP + Types Built for PHP 8.2+. Fully typed props and database models.
-
Hybrid Rendering Render HTML on the server, hydrate state on the client automatically.
Integration Comparison
Manual PHP Integration
- Manual buffer handling (ob_start/ob_get_clean)
- Complex Regex for script transformation
- No automatic props type-checking
- Harder to maintain state synchronization
Using Prisma PHP
npx create-prisma-php-app@latestto install- Standard PHP Class-based Components
- Unified backend/frontend state management
- Seamless integration with existing PHP apps