A Laravel package to decompose your installed packages, their dependencies, your app & server environment
lubusin/laravel-decomposer is a Laravel package for a laravel package to decompose your installed packages, their dependencies, your app & server environment.
It currently has 633 GitHub stars and 175.120 downloads on Packagist (latest version v1.4).
Install it with composer require lubusin/laravel-decomposer.
Discover more Laravel packages by lubusin
or browse all Laravel packages to compare alternatives.
Last updated

Laravel Decomposer decomposes and lists all the installed packages and their dependencies along with the Laravel & the Server environment details your app is running in. Decomposer also generates a markdown report from those details that can be used for troubleshooting purposes, also it allows you to generate the same report as an array and also as JSON anywhere in your code. Laravel Package & app devs you can also add your own personal extra stats specific for your package or your app. All these just on the hit of a single route.
[!NOTE] You can have a look at the Roadmap. If you have any suggestions for code improvements, new optional or core features or enhancements, create an issue so you,us or any open source believer can start working on it.
composer require lubusin/laravel-decomposer
php artisan vendor:publish --tag=DecomposerConfig
After publishing, update config/decomposer.php and set exclude_folders to control which folders are ignored while calculating app_size.
php artisan vendor:publish --tag=DecomposerAssets --force
routes/web.phpuse Lubusin\Decomposer\Controllers\DecomposerController;
Route::get('decompose', [DecomposerController::class, 'index']);
Go to http://yourapp/decompose or the route you configured above.
The Docs can be found in the Wiki but to save you one more click, here's the index
Thank you for considering contributing to the Laravel Decomposer. You can read the contribution guide lines here
If you discover a security vulnerability within Laravel, please send an e-mail at [email protected]. All security vulnerabilities will be promptly addressed.
Clone the repository to your local system:
git clone [email protected]:lubusIN/laravel-decomposer.git
cd laravel-decomposer
git checkout -b your-branch
In your Laravel project, require your local package using Composer’s path repository feature. Add the following to your Laravel project's composer.json:
"repositories": [
{
"type": "path",
"url": "../path-to-your-cloned-laravel-decomposer"
}
]
Then require it using:
composer require lubusin/laravel-decomposer:dev-your-branch
LUBUS is a web design agency based in Mumbai, India.
Laravel Decomposer is open-sourced software licensed under the MIT license