php-app

Run PHP 8.4 web apps on-device with a minimal project layout.

5.5k|794|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/shiaho777/web-to-app --skill php-app
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: php-app
Source: https://github.com/shiaho777/web-to-app/tree/main/app/src/main/assets/skills/php-app
Command: npx skills add https://github.com/shiaho777/web-to-app --skill php-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running PHP-based web apps without a server or remote hosting can be challenging on-device. This Skill provides a self-contained PHP 8.4 runtime and a minimal project layout to make portable PHP apps easy to develop and deploy offline.

Core Features & Use Cases

  • On-device PHP 8.4 runtime with a simple project root (index.php, config.php, src/, data/) for offline apps.
  • Security-first defaults including prepared statements, input sanitization, and safe password handling for admin panels.
  • Use cases include lightweight admin dashboards, micro-sites, or WordPress-like flows without external hosting.

Quick Start

Create a minimal index.php router at the project root to start your PHP app.

Frequently Asked Questions about php-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a PHP web app on-device without external hosting?▼

To run a PHP web app on-device without external hosting, you can use a self-contained PHP 8.4 runtime with a default document root and an index.php entry to guide implementation offline.

Can I build a lightweight admin dashboard using PHP offline?▼

Yes, you can build lightweight admin dashboards using PHP offline by utilizing a compact project layout with security-first defaults like prepared statements and safe password handling.

Does this PHP runtime environment support Composer and a minimal router?▼

The PHP runtime environment supports a Composer-friendly setup and enforces a minimal router to guide implementation for web apps running directly on-device.

What secure coding practices are included for PHP web app development?▼

Secure coding practices for PHP web app development include prepared statements, input sanitization, and safe password handling to ensure security-first defaults for admin panels.

How do I set up the project structure for a portable PHP app?▼

To set up the project structure for a portable PHP app, create a minimal index.php router at the project root alongside config.php, src/, and data/ directories.