Laravel Dependencies Trim Packages

🌐Community
by noartem · vlatest · Repository

This skill efficiently removes unused Laravel dependencies from your project, reducing bundle size and improving performance.

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 noartem-laravel-dependencies-trim-packages npx -- -y @trustedskills/noartem-laravel-dependencies-trim-packages
2

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

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

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

About This Skill

What it does

This skill analyzes Laravel project dependency lists and removes unnecessary or redundant packages. It helps reduce the size of your composer.lock file, potentially improving build times and deployment efficiency. The tool identifies unused dependencies based on code analysis and provides a list for review before removal.

When to use it

  • Large projects: When dealing with Laravel applications that have accumulated many dependencies over time.
  • Slow deployments: To optimize deployment processes by reducing the size of dependency files.
  • Code refactoring: After removing features or libraries from your application, ensuring unused packages are also removed.
  • Security audits: As part of a security review to identify and eliminate potentially vulnerable dependencies.

Key capabilities

  • Analyzes Laravel project composer.lock file.
  • Identifies unused dependencies based on code analysis.
  • Provides a list of potential packages for removal.

Example prompts

  • "Analyze my Laravel project's dependencies and suggest packages I can remove."
  • "Trim the packages in my Laravel application’s composer.lock file."
  • “Show me unused Laravel dependencies.”

Tips & gotchas

This skill requires a valid Laravel project with a composer.lock file to be effective. Always review the suggested package removals carefully before applying them, as removing essential dependencies can break your 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
noartem
Installs
10

🌐 Community

Passed automated security scans.