solumdesignum/recomposer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

solumdesignum/recomposer

Composer 安装命令:

composer require solumdesignum/recomposer

包简介

A Laravel package to ReCompose your installed packages, their dependencies, your app & server environment

README 文档

README

StyleCI Scrutinizer Code Quality Total Downloads Latest Stable Version Latest Unstable Version MIT Licensed

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).

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固