PHPackages                             wtg-package/base - 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. wtg-package/base

ActiveLibrary

wtg-package/base
================

wtg pkg

0107PHP

Since Aug 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/VadimAlexandru/base)[ Packagist](https://packagist.org/packages/wtg-package/base)[ RSS](/packages/wtg-package-base/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Backpack\\Base
==============

[](#backpackbase)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c94dfb71556921b3430f3b2766112253292d8a99eddafce05b67776a9692254a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b7061636b2f626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/base)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e8dd27f59c5980f14a1c9e0aae84edc397d2e047bfe9b06c393f4e2756f3cf43/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4c61726176656c2d4261636b7061636b2f626173652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Laravel-Backpack/base)[![Coverage Status](https://camo.githubusercontent.com/ccfd3929ab6f45fe391cae0508031b982ac55d814d52c3353b48a15085dce81f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6261636b7061636b2f626173652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/crud/code-structure)[![Quality Score](https://camo.githubusercontent.com/4a2efa23595a28db4880aae249f42e5b71d86058e42b8f8c4bf71535802d8982/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6261636b7061636b2f626173652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/crud)[![Style CI](https://camo.githubusercontent.com/ba8b0e794cebcce8e8bc01457f2a47b3a817910f4ed320dbbe24e2bfe7f53be9/68747470733a2f2f7374796c6563692e696f2f7265706f732f35323338343438372f736869656c64)](https://styleci.io/repos/52384487)[![Total Downloads](https://camo.githubusercontent.com/a4e954d83ca435beb3b603823183e5df8b3d6800c03361efdf55f801cbe5e6d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b7061636b2f626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/base)

Laravel BackPack's central package, which includes:

- admin login interface, using AdminLTE;
- basic menu;
- pretty error pages;
- alerts system (notification bubbles);

> ### Security updates and breaking changes
>
> [](#security-updates-and-breaking-changes)
>
> Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

[![Example generated CRUD interface](https://camo.githubusercontent.com/58440b5a4b374c5ec68aa4faef06811fd24fe0537361fa8b5888bfb8d1a2b55e/68747470733a2f2f6261636b7061636b666f726c61726176656c2e636f6d2f75706c6f6164732f73637265656e73686f74732f626173655f6c6f67696e2e706e67)](https://camo.githubusercontent.com/58440b5a4b374c5ec68aa4faef06811fd24fe0537361fa8b5888bfb8d1a2b55e/68747470733a2f2f6261636b7061636b666f726c61726176656c2e636f6d2f75706c6f6164732f73637265656e73686f74732f626173655f6c6f67696e2e706e67)

Install on Laravel 6, 5.8, 5.7, 5.6 or 5.5
------------------------------------------

[](#install-on-laravel-6-58-57-56-or-55)

1. Run in your terminal:

```
composer require backpack/base
php artisan backpack:base:install
```

2. Make sure the reset password emails have the correct reset link by adding these to your `User` model:

- before class name `use Backpack\Base\app\Notifications\ResetPasswordNotification as ResetPasswordNotification;`
- as a method inside the User class:

```
  /**
   * Send the password reset notification.
   *
   * @param  string  $token
   * @return void
   */
  public function sendPasswordResetNotification($token)
  {
      $this->notify(new ResetPasswordNotification($token));
  }
```

3. \[optional\] Change values in config/backpack/base.php to make the admin panel your own. Change menu color, project name, developer name etc.

Upgrading from Laravel 5.8 to Laravel 6
---------------------------------------

[](#upgrading-from-laravel-58-to-laravel-6)

- just upgrade your Laravel version and make sure you're running Backpack/Base 1.1.9 or higher;

Upgrading from Laravel 5.7 to Laravel 5.8 (or from Base 1.0 to Base 1.1)
------------------------------------------------------------------------

[](#upgrading-from-laravel-57-to-laravel-58-or-from-base-10-to-base-11)

- Upgrade to Laravel 5.8; you might need to change your `backpack/crud` dependency to `3.6.*` in your `composer.json`;
- in your `App\Models\BackpackUser` instead of `Tightenco\Parental\HasParent`, please use `Backpack\Base\app\Models\Traits\InheritsRelationsFromParentModel`; [here's the diff](https://github.com/Laravel-Backpack/Base/pull/362/files#diff-f075b83ebb2b1ef3ba84dec14b395607);
- in your `app/config/backpack/base.php` please change your `default_date_format` and `default_datetime_format` to `Do MMMM YYYY` and `Do MMMM YYYY, HH:mm` respectively;
- if you've overwritten `inc/head.blade.php` or `inc/scripts.blade.php`, please make sure you [use the newest version of Bootstrap](https://github.com/Laravel-Backpack/Base/pull/362/files#diff-96ac3ea4d0cb85053acf44e3772eb5f1); they've fixed a security vulnerability (XSS);

Usage
-----

[](#usage)

1. Register a new user at yourappname/admin/register
2. Your admin panel will be available at yourappname/admin or yourappname/login
3. \[optional\] If you're building an admin panel, you should close the registration. In config/backpack/base.php look for "registration\_open" and change it to false.

[![Example generated CRUD interface](https://camo.githubusercontent.com/a63da979e757bacb1673283d033c9fbadc75c3410bf0437734c62bb7e31d14c4/68747470733a2f2f6261636b7061636b666f726c61726176656c2e636f6d2f75706c6f6164732f73637265656e73686f74732f626173655f64617368626f6172642e706e67)](https://camo.githubusercontent.com/a63da979e757bacb1673283d033c9fbadc75c3410bf0437734c62bb7e31d14c4/68747470733a2f2f6261636b7061636b666f726c61726176656c2e636f6d2f75706c6f6164732f73637265656e73686f74732f626173655f64617368626f6172642e706e67)

Overwriting Functionality
-------------------------

[](#overwriting-functionality)

If you need to modify how this works in a project:

- create a `routes/backpack/base.php` file; the package will see that, and load *your* routes file, instead of the one in the package;
- create controllers/models that extend the ones in the package, and use those in your new routes file;
- modify anything you'd like in the new controllers/models;

Change log
----------

[](#change-log)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

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

Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

Credits
-------

[](#credits)

- [Cristian Tabacitu](http://tabacitu.ro)
- [All Contributors](../../contributors)

License
-------

[](#license)

Backpack is free for non-commercial use and 49 EUR/project for commercial use. Please see [License File](LICENSE.md) and [backpackforlaravel.com](https://backpackforlaravel.com/#pricing) for more information.

Hire us
-------

[](#hire-us)

We've spend more than 50.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels *so much*, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience &amp; enthusiasm for this. This is *what we do*. [Contact us](https://backpackforlaravel.com/need-freelancer-or-development-team). Let's see if we can work together.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a937a6fd500a3c495290b8bc50439fdc9c1ba6bd17e061babc979183d8d8735e?d=identicon)[wtg-package](/maintainers/wtg-package)

![](https://avatars.githubusercontent.com/u/33054780?v=4)[BadMathematician](/maintainers/BadMathematician)[@badmathematician](https://github.com/badmathematician)

---

Top Contributors

[![VadimAlexandru](https://avatars.githubusercontent.com/u/20206953?v=4)](https://github.com/VadimAlexandru "VadimAlexandru (7 commits)")

### Embed Badge

![Health badge](/badges/wtg-package-base/health.svg)

```
[![Health](https://phpackages.com/badges/wtg-package-base/health.svg)](https://phpackages.com/packages/wtg-package-base)
```

PHPackages © 2026

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