PHPackages                             laravel-admin/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. [Admin Panels](/categories/admin)
4. /
5. laravel-admin/base

ActiveLaravel-package[Admin Panels](/categories/admin)

laravel-admin/base
==================

Admin interface with login for Laravel

v2.0.5(2mo ago)34.3kMITBladePHP ^8.2

Since Jan 26Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/laravel-admin/base)[ Packagist](https://packagist.org/packages/laravel-admin/base)[ RSS](/packages/laravel-admin-base/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (4)Versions (16)Used By (0)

Laravel Admin Interface
=======================

[](#laravel-admin-interface)

Extend your Laravel App with an admin interface out-of-the-box. This packages creates an admin including a login page. The interface is fully compatible with the default bootstrap interface which is included in your Laravel app.

> note: This package is in alpha state, use it in production on own risk.

Installation
------------

[](#installation)

Add this package directly with composer:

```
composer require laravel-admin/base

```

Add the service provider to your app.php config file

```
LaravelAdmin\Base\BaseServiceProvider::class,

```

Add the admin middleware in app/Http/Kernel.php file in the $routeMiddleware array.

```
'auth.admin' => \LaravelAdmin\Base\Middleware\AuthenticateAdminUser::class

```

Config
------

[](#config)

The admin package includes a database migration which adds a role field to your users table. So make sure you run the artisan migrate command.

You can publish the config, so you can manage this in config/admin.php.

```
php artisan vendor:publish --tag=admin-config

```

### Config options

[](#config-options)

#### routeGroup

[](#routegroup)

Defining the properties of all admin routes. By default all routes are separated on a specific domain which you can define as ADMIN\_URL in your .env file. But is is also possible to use a subdirectory to replace the domain property by a prefix property like 'admin'.

#### routeMiddleware

[](#routemiddleware)

Definition of the middleware what will be used after login. By default you can use the middleware above.

#### roles

[](#roles)

Array with the available user roles.

#### canLogin

[](#canlogin)

Array with the roles who can login in the admin

#### js

[](#js)

Array of js files which will be added to the admin interface

#### css

[](#css)

Array of css files which will be added to the admin interface

#### menu

[](#menu)

Your admin menu structure. Fill this array with items that have a name and url attribute. For a second level you can give an item the attribute children to build a subarray with submenu items.

Usage
-----

[](#usage)

Scaffold your base admin routes within your routes/web.php file

```
Admin::routes(function()
{
	// Add your routes
});

```

Within the closure you can add all your routes on a route group type of definition.

Now you can access the admin by entering the url as defined in the config. Like  or

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 56.3% 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.

###  Release Activity

Cadence

Every ~260 days

Recently: every ~397 days

Total

14

Last Release

66d ago

Major Versions

v0.2.2 → v1.0.02019-08-05

v1.0.1 → v2.0.02021-12-01

PHP version history (6 changes)v1.0.0PHP ^7.0

v2.0.0PHP ^7.4

v2.0.1PHP ^7.3|^8.0

v2.0.2PHP ^7.3|^8.1

v2.0.3PHP ^8.1

v2.0.4PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5dbc6a29877ed65ea33c85a4e6c63c4b16d9150bd757880f1af18813eaa33d8?d=identicon)[marcoboom](/maintainers/marcoboom)

![](https://www.gravatar.com/avatar/23ea7fac7266de97a318215d5d5f814bb5aad10acededb9cae1557dd197e1c66?d=identicon)[basdebeer](/maintainers/basdebeer)

---

Top Contributors

[![jakobbuis](https://avatars.githubusercontent.com/u/949674?v=4)](https://github.com/jakobbuis "jakobbuis (9 commits)")[![marcoboom](https://avatars.githubusercontent.com/u/1839784?v=4)](https://github.com/marcoboom "marcoboom (5 commits)")[![agoudsmit](https://avatars.githubusercontent.com/u/339679?v=4)](https://github.com/agoudsmit "agoudsmit (1 commits)")[![stephandebruin](https://avatars.githubusercontent.com/u/22237643?v=4)](https://github.com/stephandebruin "stephandebruin (1 commits)")

### Embed Badge

![Health badge](/badges/laravel-admin-base/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M222](/packages/backpack-crud)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[exceedone/exment

Management for Product, Client, Contracts, Subscription, ...

28038.8k](/packages/exceedone-exment)[eveseat/web

SeAT Web Interface

2623.5k158](/packages/eveseat-web)

PHPackages © 2026

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