laravel:dependencies-trim-packages

Audit and remove unused Composer packages and assets from Laravel projects.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Sivanwol/sabo-platfom --skill laravel-dependencies-trim-packages-sivanwol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel:dependencies-trim-packages
Source: https://github.com/Sivanwol/sabo-platfom/tree/main/.agents/skills/laravel-dependencies-trim-packages
Command: npx skills add https://github.com/Sivanwol/sabo-platfom --skill laravel-dependencies-trim-packages-sivanwol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel projects often carry unused Composer packages and assets that bloat boot time, increase memory usage, and widen the security surface.

Core Features & Use Cases

  • Audit packages with composer show --tree to identify unused dependencies and assets.
  • Remove unused packages and prune assets to streamline deployment and runtime performance.
  • Use case: before release, trim dependencies in a Laravel project to reduce memory footprint and attack surface.

Quick Start

Run this skill on a Laravel project to remove unused dependencies and clean up assets.

Frequently Asked Questions about laravel:dependencies-trim-packages

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

FAQPage Schema
How do I remove unused Composer packages from a Laravel project?

To remove unused Composer packages from a Laravel project, audit dependencies using composer show --tree to identify them, then execute explicit composer remove commands to eliminate unused libraries and document changes for deployment preparation.

Why does my Laravel application have a slow boot time and high memory usage?

Laravel boot time and memory usage increase when projects carry unused Composer packages and assets that bloat runtime performance, requiring dependency auditing and asset pruning to streamline the application footprint.

What is the best way to audit Laravel dependencies before a release?

The best way to audit Laravel dependencies before a release is running composer show --tree to map package trees, identifying unused libraries and assets to prune for a reduced security surface and memory footprint.

Can I reduce the security surface of my Laravel application by trimming dependencies?

Yes, you can reduce the Laravel security surface by auditing with composer show --tree and removing unused Composer packages and assets, which narrows the attack surface and decreases resource usage during maintenance or refactoring.

Does this dependency trimming process work during Laravel maintenance and refactoring?

Yes, dependency trimming works during Laravel maintenance and refactoring by auditing the composer.json inventory, removing unused packages, and documenting explicit composer commands and constraints to ensure deterministic project requirements.