write-script-php
OfficialWrite PHP scripts quickly with safe patterns.
Authorwindmill-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a standardized template and guidance for building PHP scripts within Windmill, ensuring consistent structure, resource typing, and optional library dependencies.
Core Features & Use Cases
- Standard PHP skeleton: Start with <?php and a defined main function.
- Resource typing: Demonstrates how to declare and inject resource types to interact with external services securely.
- Library dependencies: Shows how to declare external libraries in comments before the main function for automatic handling.
- Use Case: Create Windmill PHP scripts that process data or perform API calls in a reusable, testable pattern.
Quick Start
Create a PHP script with a main function and a sample Postgresql resource class, then run:
- wmill script generate-metadata
- wmill sync push
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-script-php Download link: https://github.com/windmill-labs/windmill/archive/main.zip#write-script-php Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.