承接 masmerise/revert-for-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

masmerise/revert-for-laravel

最新稳定版本:12.0.0

Composer 安装命令:

composer require masmerise/revert-for-laravel

包简介

Revert Laravel installations to the original v5 skeleton.

README 文档

README

Laravel Revert Banner

Revert Laravel installations to the original v5 skeleton

Latest Version on Packagist Total Downloads

Warning

This package is supposed to be used right after having installed a fresh Laravel project using laravel new. We are not responsible for any progress lost if you fail to follow this instruction.

Why does this package exist?

This package aims to restore the former 5.0 structure with both the Console and Http kernels as this provides much more flexibility compared to the new ApplicationBuilder class that comes with a lot of assumptions out of the box.

Laravel's new project structure simplified things a lot. However, this simplification comes at a trade-off. Developers that are already well-versed in Laravel's ecosystem probably have no need for such a simplification because the internals of the framework are like second nature to them.

As such, the main goal of this package is getting rid of ApplicationBuilder and keeping the other structural elements intact.

Overview

These are the changes that'll be carried out in order to achieve the primary goal of this package, which is the elimination of the new ApplicationBuilder:

  1. App\Console\Kernel will be restored.
  2. App\Http\Kernel will be restored.
  3. App\Exceptions\Handler will be restored.
  4. App\Providers\RouteServiceProvider will be restored.
  5. The previous boostrap/app.php will be restored.
  6. The providers key will be added back to config/app.php.
  7. bootstrap/providers.php will be reconciled with the providers key in config/app.php.
  8. bootstrap/providers.php will be removed.

Note

If you need other previously available files such as EventServiceProvider, add these yourself. This package embraces the lean nature of the new structure except the ApplicationBuilder.

Installation

You can install the package via composer:

composer require --dev masmerise/revert-for-laravel

Usage

php artisan revert

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email support@muhammedsari.me instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-25