solumdesignum / recomposer
A Laravel package to ReCompose your installed packages, their dependencies, your app & server environment
Requires
- php: ^8.1|^8.2|^8.3|^8.4
- illuminate/support: ^5|^6|^7|^8|^9|^10|^11|^12
Requires (Dev)
- mockery/mockery: ^1.4
- orchestra/testbench: ^5|^6|^7|^8|^9
- phpunit/phpunit: ^8|^9|^10|^11
- roave/security-advisories: dev-master
- sempro/phpunit-pretty-print: ^1.4
README
Introduction
Laravel ReComposer decomposes and lists all the installed packages with their dependencies along with the Laravel & the Server environment details your app is running in.
Required before installation
Please make sure du is installed on linux, or unix, mac.
Important
I regret to inform windows currently is not supported.
Exceptions to this is rule is
Any type of virtualization docker, Virtual Machine and anything similar to it.
Installation
To get started, install ReComposer using the Composer package manager:
composer require solumdesignum/recomposer
Next, publish ReComposer resources using the vendor:publish command:
php artisan vendor:publish --provider="SolumDeSignum\ReComposer\ReComposerServiceProvider"
This command will publish a config to your config directory, which will be created if it does not exist.
ReComposer Features
The configuration file contains configurations.
<?php declare(strict_types=1); $excludePrefix = '--exclude='; return [ 'basePath' => base_path(), 'binary' => [ 'format' => 'kilobytes', 'search' => 'MiB', 'replace' => 'mb', ], 'view' => 'solumdesignum/recomposer::index', 'cache' => [ 'feature' => false, 'hours' => 1, ], 'icon' => [ 'check' => '<i class="fas fa-check"></i>', 'uncheck' => '<i class="fas fa-times"></i>', ], 'exclude' => [ 'folder' => [ 'blacklist' => [ // $excludePrefix . base_path('bootstrap'), // $excludePrefix . base_path('packages'), // $excludePrefix . base_path('node_modules'), // $excludePrefix . base_path('vendor'), // $excludePrefix . base_path('storage/debugbar'), // $excludePrefix . base_path('storage/framework'), // $excludePrefix . base_path('storage/logs'), // $excludePrefix . base_path('storage/medialibrary'), ], ], 'packages' => [ 'enabled' => true, 'blacklist' => [ 'php', 'roave/security-advisories', ] ] ] ];
Add a route in your web routes file:
Route::get('recomposer','\SolumDeSignum\ReComposer\Controllers\ReComposerController@index');
Go to http://yourapp/recomposer or the route you configured above in the routes file.
Contributing
Thank you for considering contributing to the Laravel ReComposer. You can read the contribution guidelines here
Security
If you discover any security-related issues, please email to Solum DeSignum.
Author
About
Solum DeSignum is a web design agency based in Latvia, Riga.
License
Laravel ReComposer is open-sourced software licensed under the MIT license
Idea
This package concept is based on a package decomposer (abandon).