PHPackages                             masmerise/revert-for-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. masmerise/revert-for-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

masmerise/revert-for-laravel
============================

Revert Laravel installations to the original v5 skeleton.

12.0.0(7mo ago)1226↓100%MITPHPPHP ~8.2 || ~8.3 || ~8.4CI passing

Since Sep 25Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/masmerise/revert-for-laravel)[ Packagist](https://packagist.org/packages/masmerise/revert-for-laravel)[ Docs](https://github.com/masmerise/revert-for-laravel)[ RSS](/packages/masmerise-revert-for-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

[![Laravel Revert Banner](https://github.com/masmerise/revert-for-laravel/raw/master/art/banner.png)](https://github.com/masmerise/revert-for-laravel/raw/master/art/banner.png)

Revert Laravel installations to the original v5 skeleton
========================================================

[](#revert-laravel-installations-to-the-original-v5-skeleton)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e0c15f90284f2fb6bafd29b8023829d9e0f111a9b539c436a84901c89ee9fa57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61736d65726973652f7265766572742d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/masmerise/revert-for-laravel)[![Total Downloads](https://camo.githubusercontent.com/d57ccfbb80f27e33b06933de01f6abdf65e1c5f6f4aa86e37ace5f3307972805/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61736d65726973652f7265766572742d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/masmerise/revert-for-laravel)

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?
----------------------------

[](#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
--------

[](#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
------------

[](#installation)

You can install the package via [composer](https://getcomposer.org):

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

Usage
-----

[](#usage)

```
php artisan revert
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Muhammed Sari](https://github.com/masmerise)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance62

Regular maintenance activity

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

230d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79212cff26df3f844929ef901df8761013cda04b8b08cf619189788ece91783c?d=identicon)[masmerise](/maintainers/masmerise)

---

Tags

laravelrevert

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/masmerise-revert-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/masmerise-revert-for-laravel/health.svg)](https://phpackages.com/packages/masmerise-revert-for-laravel)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
