New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lubusin/laravel-decomposer

A Laravel package to decompose your installed packages, their dependencies, your app & server environment
177,715 641

Larablocks Analysis

lubusin/laravel-decomposer works with Laravel 11, 12 and 13 (latest release v2.0.0, Nov 10, 2026).

Laravel 5 to 10 in earlier releases.

Promising: maintained and up to date, meets 3 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 10, 2026)
  • 540 downloads a month (needs 10,000)
  • 641 GitHub stars (at least 100)

State

Maintained
  • Last stable release: Nov 10, 2026.
  • 2 releases in the last 12 months.
  • First released: Feb 17, 2017.
  • Monthly downloads: 540, up 60% from six months ago.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require lubusin/laravel-decomposer
Latest Version:v2.0.0
PHP:^8.2
Laravel:11 · 12 · 13
Older releases:5 – 10
License:MIT
Last Updated:Nov 24, 2026
Links: GitHub  ·  Packagist
Maintainer: introwit

Laravel Decomposer Logo

Laravel Decomposer Banner

Latest Version on Packagist GitHub Tests Action Status Total Downloads License

Laravel Decomposer

Laravel Decomposer provides an instant, interactive breakdown of your Laravel application's installed packages, lock versions, and dependencies alongside deep server and framework environment details.

It also generates a standardized Markdown system report ready to copy or download for troubleshooting and GitHub issues, and provides programmatic PHP APIs to access report data as an array or JSON anywhere in your code.

Features

  • Installed Packages & Dependencies: View all direct dependencies, required constraints, installed lock versions, and expandable direct sub-dependencies directly in the browser.
  • Environment Diagnostics: Inspect Laravel version, timezone, debug mode, directory permissions (storage, bootstrap/cache), app size, server software, PHP version, and loaded core extensions (OpenSSL, PDO, Mbstring, Tokenizer, XML).
  • One-Click Markdown Report: Generate, copy, or download a structured system report formatted for GitHub issues, issue trackers, and customer support tickets.
  • Programmatic API: Retrieve the system report as a native PHP array or JSON payload anywhere in your application or CLI commands.
  • Extensible Stats: Register custom application, Laravel, or server metrics via Decomposer::addExtraStats(), addLaravelStats(), and addServerStats().
  • Modern Dashboard UI: Built with Tailwind CSS and Alpine.js, featuring real-time package search, hotkey search (/), dependency filters, pagination, and built-in light & dark mode.

Requirements & Compatibility

  • PHP: ^8.2 (PHP 8.2, 8.3, 8.4)
  • Laravel: 11.x, 12.x, and 13.x

Installation

1. Install via Composer

composer require lubusin/laravel-decomposer

2. Publish Dashboard Assets

Publish the compiled stylesheet and JavaScript bundle to your application's public directory:

php artisan vendor:publish --tag=DecomposerAssets --force

3. Publish Configuration (Optional)

php artisan vendor:publish --tag=DecomposerConfig

This creates config/decomposer.php, where you can configure directories to exclude when calculating total application size:

return [
    'exclude_folders' => [
        'vendor',
        'node_modules',
        'storage',
        'tests',
        '.git',
    ],
];

4. Register the Route

Add the Decomposer route to your routes/web.php. We recommend protecting this route with authentication or authorization middleware in production environments:

use Lubusin\Decomposer\Controllers\DecomposerController;

// Development / Local:
Route::get('decompose', [DecomposerController::class, 'index']);

// Recommended for Production:
Route::get('decompose', [DecomposerController::class, 'index'])
    ->middleware(['web', 'auth']);

5. Access the Dashboard

Open https://your-app.test/decompose (or your configured path) in your browser.

Usage

The Docs can be found in the Wiki but to save you one more click, here's the index

Local Development & Contributing

Thank you for considering contributing to Laravel Decomposer! Please review the contribution guidelines.

Setup for Local Package Development

  1. Clone the repository:

    git clone git@github.com:lubusIN/laravel-decomposer.git
    cd laravel-decomposer
    
  2. Install PHP and Node dependencies:

    composer install
    npm install
    
  3. Compile frontend assets:

    npm run build
    # Or for active development:
    npm run dev
    
  4. Run tests and code style checks:

    composer test   # Runs Pest test suite
    composer lint   # Checks formatting with Laravel Pint
    composer format # Auto-fixes formatting with Laravel Pint
    

Security

If you discover a security vulnerability within Laravel Decomposer, please email info@lubus.in. All security issues will be promptly addressed.

Meet Your Artisans

LUBUS is a web design and development agency based in Mumbai, India.

LUBUS Banner

License

Laravel Decomposer is open-sourced software licensed under the MIT license.

Related Packages

laravel-admin/base

Admin interface with login for Laravel

4,854 3
rigits/laravel-log-lens

A simple laravel logs lens

4,312 0
aldhix/breeze-bootstrap-ui

Laravel Breeze UI dengan Bootstrap 5

2,389 1
dizatech/module-menu

This package provides menu generator for modules in laravel apps.

260 2
colbeh/logs

laravel view daily logs.

131 0

Version History

Version Released PHP Laravel License
v2.0.0 ^8.2 ^11.0|^12.0|^13.0 MIT
v1.4 ^7.2|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v1.3.1 ^7.2|^8.0 >=6.0 <=12.0 || ^12.0 MIT
v1.3 ^7.2|^8.0 >=6.0 <=12.0 || ^12.0 MIT
v1.2.3 >=5.6 ^5.0 MIT