Laravel Eloquent

🌐Community
by fusengine · vlatest · Repository

Laravel Eloquent simplifies database interactions for your PHP application by providing an object-oriented way to query and manipulate data.

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 laravel-eloquent npx -- -y @trustedskills/laravel-eloquent
2

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

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

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

About This Skill

What it does

This skill enables AI agents to interact with Laravel applications using Eloquent ORM. It allows querying, creating, updating, and deleting data within a relational database managed by Laravel. The agent can perform complex queries, including joins and relationships, based on natural language instructions.

When to use it

  • Automated Data Entry: Populate a Laravel database with information extracted from documents or other sources.
  • Report Generation: Generate reports based on data stored in a Laravel application's database.
  • Database Troubleshooting: Query the database to identify and resolve issues within a Laravel application.
  • Content Management System (CMS) Updates: Update content within a CMS built with Laravel, such as blog posts or product listings.

Key capabilities

  • Eloquent ORM interaction
  • Data querying
  • Database relationship handling
  • Data creation
  • Data updating
  • Data deletion

Example prompts

  • "Find all users who registered after January 1st, 2023."
  • "Create a new blog post with the title 'My New Post' and content 'This is my post'."
  • "Update the price of product ID 123 to $9.99."

Tips & gotchas

  • Requires a Laravel environment with Eloquent ORM configured.
  • The agent’s understanding of database schema depends on clear naming conventions and relationships within the Laravel application.

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
fusengine
Installs
19

🌐 Community

Passed automated security scans.