Php Database

🌐Community
by pluginagentmarketplace · vlatest · Repository

Connects to and queries PHP applications' databases using provided credentials and SQL statements.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add php-database npx -- -y @trustedskills/php-database
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "php-database": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/php-database"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows AI agents to interact with and manipulate databases using PHP. It enables querying, inserting, updating, and deleting data within a MySQL database environment. The agent can execute SQL statements, retrieve results, and format them for further processing or presentation.

When to use it

  • Data Extraction: Retrieve specific information from a database based on user requests (e.g., "Get all customers in California").
  • Automated Updates: Update database records automatically based on external events or triggers (e.g., "Update the inventory count after each sale").
  • Report Generation: Generate reports by querying and aggregating data from a database (e.g., “Create a sales report for last month”).
  • Data Entry/Modification: Add new entries to a database, or modify existing ones based on user input (e.g., "Add a new product with these details").

Key capabilities

  • MySQL Database Interaction
  • SQL Query Execution
  • Data Insertion
  • Data Update
  • Data Deletion

Example prompts

  • "Run the query 'SELECT * FROM products WHERE price > 100'"
  • "Insert a new row into the 'orders' table with these values: [customer_id, order_date, total]"
  • "Update the 'users' table and set the email address for user ID 5 to '[email protected]'."

Tips & gotchas

  • Requires access to a MySQL database and appropriate credentials.
  • Be mindful of SQL injection vulnerabilities; sanitize any user-provided input before incorporating it into queries.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
pluginagentmarketplace
Installs
27

🌐 Community

Passed automated security scans.