# ascorbic/use-php

> React hook that runs PHP templates inside a Netlify edge function

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/ascorbic/use-php
- HTML: https://awesomeopensource.dev/project/ascorbic-use-php
- Website: https://use-php.netlify.app
- Language: TypeScript
- stars: 212
- Activity score: 1.0/5 (Abandoned)
- Last commit (any branch): 2023-11-07
- Last release: v1 2023-11-05

## Description

usePHP returns a tagged template that executes PHP through php-wasm inside a Netlify Edge Function, so rendering happens at the edge without a PHP server. It runs asynchronously and needs a renderer that supports async components, returning JSX when given h or React.createElement and an HTML string otherwise. A demo site shows the hook inside a Deno edge handler.

## Maintenance activity

- Recency: 0% (weight 40%) — last commit: 1102 days ago
- Commit volume: 0% (weight 25%)
- Releases: 1% (weight 25%) — last release: 1104 days ago
- Bug fixes: 0% (weight 10%)
- Commits: 0 / 90d, 0 / 365d
- Cap applied: no commits for more than 2 years

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
