PHPackages                             artcoder/ladmin - 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. artcoder/ladmin

ActiveLibrary

artcoder/ladmin
===============

ladmin is a laravel package admin management panel

1.5(2y ago)222MITJavaScript

Since Oct 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/art-coder/ladmin)[ Packagist](https://packagist.org/packages/artcoder/ladmin)[ RSS](/packages/artcoder-ladmin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

Installation
============

[](#installation)

```
# composer 镜像  https://pkg.xyz/
composer create-project laravel/laravel=8.* test
composer create-project laravel/laravel demo
cd demo
composer require artcoder/ladmin
```

```
// composer.json
{
  "autoload": {
    "psr-4": {
      // ...
      "Modules\\": "Modules/"
    }
  }
}
```

```
mkdir Modules
composer dump-autoload
```

```
// config/auth.php
'providers' => [
  'users' => [
    'driver' => 'eloquent',
    'model' => Artcoder\Ladmin\Entities\User::class,
  ],
],
```

```
// app/Http/Middleware/EncryptCookies.php
protected $except = [
  'hints'
];
```

```
// config/app.php
'providers' => [
  // ...
  Artcoder\Ladmin\AdminServiceProvider::class,
],
```

```
# .env
  DB_DATABASE=xxx
  DB_USERNAME=xxx
  DB_PASSWORD=xxx
```

```
php artisan ladmin:setup
...
#for update
#del admin.php & status.php
#php artisan vendor:publish --provider="Artcoder\Ladmin\AdminServiceProvider"
```

Modules &amp; Repository
========================

[](#modules--repository)

```
php artisan module:make Cms
```

```
// CmsController.php
  // ...
  use use Artcoder\Ladmin\Http\Controllers\Controller as AdminController;
  // ...
  class CmsController extends AdminController {
	// ...
	public $moduleName = 'cms';
	// ...

// Model
	use Artcoder\Ladmin\Entities\Model;

	class FarmingAccount extends Model

// Repositories
  namespace Modules\Cms\Repositories;

  use Modules\Cms\Entities\Posts;
  use Artcoder\Ladmin\Repositories\BaseRepository;
  // or use Artcoder\Ladmin\Repositories\AdminRepository;

  class PostsRepository extends BaseRepository
  {
    // ...
    // ->model('category', 'cms')  // model
    // ->repository('category', 'cms') // repository
  }
// view
  $folder      = 'cms-posts';
  $title       = '文章列表';
  $targetUrl   = route('admin.cms.create');
  $targetTitle = '添加文章';
  $list        = $this->posts->all();
  return view(
      'cms::' . $folder . '.index',
    compact('folder', 'list', 'title', 'targetUrl', 'targetTitle')
  );

  return view(
    'admin::partials.create',
      compact('folder', 'title', 'targetUrl', 'targetTitle', 'model', 'formUrl')
  );

  return view(
    'admin::partials.edit',
      compact('id', 'folder', 'title', 'targetUrl', 'targetTitle', 'model', 'formUrl')
  );
```

```
// Traits
  // Artcoder\Ladmin\Libraries\Support\Traits\HasConfig
    // #cacheKey
    // @getItem($index, $defalt = false)
    // @clearCache()
    // @getList()
  // Artcoder\Ladmin\Libraries\Support\Traits\HasConfigRepository
    // @info($index = '')
    // @pluckInfo()
    // @clearCache()
  // Artcoder\Ladmin\Libraries\Support\Traits\HasStatus
    // #
  // Artcoder\Ladmin\Libraries\Support\Traits\HasStoreAuth
  // Artcoder\Ladmin\Libraries\Support\Traits\HasTree
  // Artcoder\Ladmin\Libraries\Support\Traits\HasTreeRepository
  // Artcoder\Ladmin\Libraries\Support\Traits\HasUnableDeletePK
    // #unableIdValue [1, 2...]
    // @canDeletePK()
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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 ~100 days

Total

3

Last Release

753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6444a785dc99ac394ffa480dcecbefb74cc290f36ea20cba232c6760f4f3a54d?d=identicon)[art-coder](/maintainers/art-coder)

---

Top Contributors

[![art-coder](https://avatars.githubusercontent.com/u/2919457?v=4)](https://github.com/art-coder "art-coder (21 commits)")

### Embed Badge

![Health badge](/badges/artcoder-ladmin/health.svg)

```
[![Health](https://phpackages.com/badges/artcoder-ladmin/health.svg)](https://phpackages.com/packages/artcoder-ladmin)
```

###  Alternatives

[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[bfinlay/laravel-excel-seeder

Seed the database with Laravel using Excel, XLSX, XLS, CSV, ODS, Gnumeric, XML, HTML, SLK files

3944.4k](/packages/bfinlay-laravel-excel-seeder)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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