PHPackages                             zsfoto/jeffadmin - 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. zsfoto/jeffadmin

ActiveCakephp-plugin[Admin Panels](/categories/admin)

zsfoto/jeffadmin
================

JeffAdmin plugin for CakePHP ^5.0

1.2(2y ago)076MITJavaScriptPHP &gt;=8.2

Since Dec 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/zsfoto/jeffadmin)[ Packagist](https://packagist.org/packages/zsfoto/jeffadmin)[ RSS](/packages/zsfoto-jeffadmin/feed)WikiDiscussions main Synced 1mo ago

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

This plugin adds the AdminLTE framework to CakePHP (for versions above 4.4) with a special look that I like. However, use CakeDC/Users for user management. Its installation and commissioning can be read below:

**1. Install cakephp:**

```
# composer create-project --prefer-dist cakephp/app:~4.0 teszt.loc
# cd teszt.loc

```

**- Setup database in: /config/app\_local.php:**

```
	...
    'Datasources' => [
        'default' => [
            'host' => 'localhost',
            'username' => 'username',
            'password' => 'secret',
            'database' => 'test',
    ...

```

**- Add locale to /config/app\_local.php if you want:**

```
    ...
    'App' => [
        'defaultLocale' => env('APP_DEFAULT_LOCALE', 'hu_HU'),
    ],

    'Migrations' => [
        'unsigned_primary_keys' => true,
        'column_null_default' => true,
    ],
    ...

```

**2. Install CakeDc / Users:**

```
# composer require cakedc/users

```

**3. Add to (and edit) in /src/Application.php file:**

```
        if (Configure::read('debug')) {
            Configure::write('DebugKit.forceEnable', true);
            $this->addPlugin('DebugKit');
        }

        // Load more plugins here
        // $this->addPlugin('JeffAdmin');
        $this->addPlugin(\CakeDC\Users\Plugin::class);
        // Configure::write('Users.config', ['users']);

```

**4. Create CakeDC/Users tables:**

```
# cake migrations migrate -p CakeDC/Users

```

**5. Install JeffAdmin:**

```
# composer require zsfoto/jeffadmin

```

**6.a. Change route in /config/routes.php file.**Change this:

```
$builder->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);

```

to:

```
$builder->connect('/', ['controller' => 'Blogs', 'action' => 'index']);

```

**6.b. Add prefixes to /config/routes.php file:**

```
    $routes->prefix('Admin', function (RouteBuilder $builder) {
        $builder->scope('/', function (RouteBuilder $builder) {
            //$builder->setExtensions(['json', 'xml', 'xlsx']);
            $builder->connect('/', ['controller' => 'Blogs', 'action' => 'index']);
            $builder->fallbacks(DashedRoute::class);
        });
    });

    $routes->prefix('Api', function (RouteBuilder $builder) {
        $builder->scope('/', function (RouteBuilder $builder) {
            $builder->setExtensions(['json', 'xml', 'xlsx']);
            $builder->connect('/', ['controller' => 'Blogs', 'action' => 'index']);
            $builder->fallbacks(DashedRoute::class);
        });
    });

```

**7. Add lines to end of the /config/bootstrap.php file:**

```
try {
    Configure::load('jeffadmin', 'default');
} catch (\Exception $e) {
    exit($e->getMessage() . "\n");
}
Configure::write('Bake.theme', 'JeffAdmin');

```

**8. Remove chars "//" from lines start in /src/Application.php file:**

```
        if (Configure::read('debug')) {
            Configure::write('DebugKit.forceEnable', true);
            $this->addPlugin('DebugKit');
        }

        // Load more plugins here
        //$this->addPlugin('JeffAdmin');
        $this->addPlugin(\CakeDC\Users\Plugin::class);
        //Configure::write('Users.config', ['users']);

```

After when removed "//":

```
        if (Configure::read('debug')) {
            Configure::write('DebugKit.forceEnable', true);
            $this->addPlugin('DebugKit');
        }

        // Load more plugins here
        $this->addPlugin('JeffAdmin');
        $this->addPlugin(\CakeDC\Users\Plugin::class);
        Configure::write('Users.config', ['users']);

```

**9. Copy config and src dir to app root (from /vendor/zsfoto/jeffadmin/templates/toCopyToRoot/ to /) Overwrite! :**

```
# cp /vendor/zsfoto/jeffadmin/templates/toCopyToRoot/config /(app root)
# cp /vendor/zsfoto/jeffadmin/templates/toCopyToRoot/src /(app root)

```

**10. Modify MySQL users table in SQL editor (phpmyadmin or MySQL Workbench):**

```
ALTER TABLE `users` CHANGE `username` `username` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NULL;

```

**11. Try to bake and "Enjoy it":**Create **blogs table** and create model, admin controller and template

```
# cake migrations migrate -p JeffAdmin	// Create

# cake bake model blogs
# cake bake controller blogs
# cake bake template blogs

```

Create the admin:

```
# cake bake controller blogs --prefix admin
# cake bake template blogs --prefix admin

# cake server

```

If you see the [login](http://localhost:8765/login) page, please [register](http://localhost:8765/register) a new user. Dont forget to activate in email link or directly in users table ;-) in active field (values: 0 or 1).

See more in [CakeDC](https://github.com/CakeDC/users/blob/11.next-cake4/Docs/Documentation/Installation.md) page on github.

**12. If you wanna modify the CakeDC/Users emails, move and edit: (I still have to think about it ;-))**

```
# mv /vendor/zsfoto/jeffadmin/templates/plugin/CakeDC/Users/email root)/templates/plugin/CakeDC/Users/email

```

**13. Config Sidebar menu:**Edit the /config/jeffadmin.php

**Status**

**This plugin is still in early development status, things may change suddenly, but it can be used in real projects already.**

... To be continued ...

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 75.8% 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 ~59 days

Recently: every ~47 days

Total

15

Last Release

782d ago

Major Versions

1.0.3 → 4.3.x-dev2021-12-07

PHP version history (3 changes)1.0.0PHP &gt;=7.2

1.0.6PHP &gt;=7.4

1.2PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![zsfoto](https://avatars.githubusercontent.com/u/53469564?v=4)](https://github.com/zsfoto "zsfoto (25 commits)")[![jeff-shoemaker](https://avatars.githubusercontent.com/u/121301707?v=4)](https://github.com/jeff-shoemaker "jeff-shoemaker (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zsfoto-jeffadmin/health.svg)

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

###  Alternatives

[friendsofcake/crud

CakePHP Application development on steroids - rapid prototyping / scaffolding &amp; production ready code - XML / JSON APIs and more

3751.4M25](/packages/friendsofcake-crud)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[friendsofcake/crud-view

View layer for CRUD

52433.8k2](/packages/friendsofcake-crud-view)[arodu/cakelte

CakeLTE: AdminLTE plugin for CakePHP

3626.9k](/packages/arodu-cakelte)[dereuromark/cakephp-translate

A CakePHP plugin for managing translations

1710.4k](/packages/dereuromark-cakephp-translate)[xety/xeta

A resource to help people starting with Cake3

531.4k](/packages/xety-xeta)

PHPackages © 2026

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