PHPackages                             ryanbadger/laravel-admin - 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. ryanbadger/laravel-admin

ActiveLibrary[Admin Panels](/categories/admin)

ryanbadger/laravel-admin
========================

A Laravel admin panel package

1.1.2(1y ago)071MITBlade

Since May 7Pushed 1y ago2 watchersCompare

[ Source](https://github.com/ryanbadger/laravel-admin)[ Packagist](https://packagist.org/packages/ryanbadger/laravel-admin)[ RSS](/packages/ryanbadger-laravel-admin/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (11)Used By (0)

Laravel Admin Package
=====================

[](#laravel-admin-package)

This Laravel Admin package simplifies the administration of models in a Laravel application. It provides a dynamic admin panel for managing models with basic CRUD operations, tailored to handle different data types effectively.

Features
--------

[](#features)

- Dynamic model detection and CRUD generation.
- Custom input types based on model attribute data types.
- Simplified setup process, ideal for rapid development and prototyping.

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

[](#installation)

To install the package, follow these steps:

### Step 1: Install the Package

[](#step-1-install-the-package)

Run the following command in your Laravel project:

`composer require RyanBadger/laravel-admin`

### Step 2: Publish the Assets &amp; Run Migration (for media support)

[](#step-2-publish-the-assets--run-migration-for-media-support)

Publish the assets for the package:

`php artisan vendor:publish --tag=laravel-admin-assets`

Run Migration

`php artisan migrate`

This commands will publish the necessary views and assets to your Laravel project, and create the Media model for file upload support on any model.

### Step 3: Configure Your Models

[](#step-3-configure-your-models)

Ensure that your models are set up correctly with the `$fillable` property to allow mass assignment, and define the CMS fields.

```
class YourModel extends Model {
    protected $fillable = [
        'field1',
        'field2',
        'field3'
    ];
}

```

```
public function cmsFields() {
    return [
            'title' => [
                'type' => 'text', // Field type (text, textarea, select, checkbox, media, etc.)
                'label' => 'Title', // Human-readable field name
                'editable' => true, // Allow this field to be edited in the CMS
                'required' => true, // Require this field to be filled out
                'show_in_list' => true, // Show this field in the CMS list view
                'searchable' => true, // Make this field searchable
            ],
            'template' => [
                'type' => 'select', // Show a select dropdown with the options you define
                'label' => 'Page Template',
                'options' => [
                    'page' => 'Default Page',
                    'videos' => 'Video Page'
                ],
                'editable' => true,
                'required' => true,
                'show_in_list' => true,
            ],
            'show_in_nav' => [
                'type' => 'checkbox', // Displays a bootstrap toggle
                'label' => 'Show in Navigation',
                'editable' => true,
                'required' => true,
            ],
            'body' => [
                'type' => 'textarea', // Displays a CKEditor WYSIWYG
                'label' => 'Body',
                'editable' => true,
                'required' => false,
                'searchable' => true,
            ],
            'media_upload' => [
                'type' => 'media', // Displays a Dropzone.js uploader
                'label' => 'Media Upload',
                'multiple' => true,
                'max_files' => 99,
                'max_file_size' => 99, // in MB
                'allowed_types' => 'image/jpeg,image/png,image/gif',
                'editable' => true,
                'required' => false,
            ],
        ];

```

Usage
-----

[](#usage)

Once installed, the last step is to grant access to your admin users.

This package check your "users" table/model for an is\_admin value. You should create this yourself, or if you prefer a different method, update the CMS middleware.

Once logged in, navigate to `/admin/` in your web browser to manage your app.

### Dashboard

[](#dashboard)

Access the dashboard at:

`/admin/dashboard`

This dashboard shows a summary of all models and their basic stats.

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

[](#contributing)

Contributions are welcome. Please open an issue or submit a pull request with your improvements.

License
-------

[](#license)

This Laravel Admin package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance40

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~32 days

Recently: every ~71 days

Total

10

Last Release

500d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/810179?v=4)[Ryan](/maintainers/ryanbadger)[@ryanbadger](https://github.com/ryanbadger)

---

Top Contributors

[![ryanbadger](https://avatars.githubusercontent.com/u/810179?v=4)](https://github.com/ryanbadger "ryanbadger (47 commits)")

### Embed Badge

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

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

PHPackages © 2026

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