johnnyxlemonade/admin-platform

Lemonade Admin Platform

Admin Platform gives your application a back office. It handles sign-in, users and permissions, and provides tools that other modules can share.

What it does

Users, roles and languages

Manage accounts, roles, languages, translations and notifications out of the box. You can also view change history, installed modules and shared files.

  • Local sign-in, with optional OIDC
  • Roles, permissions and per-user exceptions
  • Filterable tables with sorting and CSV export
  • Full-page and dialog-based forms
  • Dashboard, notifications and change history
  • Additional modules installed through Composer
Included

Built-in tools

User, language and operational tools come with Admin Platform. Content modules are installed separately.

UsersAccounts, activation and individual permissions.
RolesRoles and their permissions.
LanguagesAvailable languages and the default language.
TranslationsTranslation edits without changing source files.
NotificationsAnnouncements and a personal inbox.
ModulesA view of installed modules.
AuditA view of changes and sign-ins.
MediaA read-only view of shared files.

Tools shared by modules

Content modules use the same tables, forms and navigation. Tables support filters, sorting and CSV export; forms can open as pages or dialogs.

Adding a module

Install another module with Composer. Once its migrations are in place, it appears in the back office; you then grant access through roles.

In practice

In practice

Set the admin URL, branding and browser assets after installation. Run the migrations and sync permissions before using the back office. New permissions are not assigned to roles automatically.

PHP / admin-platform
<?php

use Lemonade\Admin\Modules\Manifest\ModuleManifestDefinition;
use Lemonade\Admin\System\Users\UsersModuleProvider;

final class ModuleManifest extends ModuleManifestDefinition
{
    public function __construct()
    {
        parent::__construct('system.users', UsersModuleProvider::class, 'users.module.name');
    }
}
Installation

Installation

Install the package with Composer. Its README covers any migrations and permission setup.

COMPOSER
composer require johnnyxlemonade/admin-platform

Required packages

  • johnnyxlemonade/framework
  • johnnyxlemonade/cms-core
  • johnnyxlemonade/admin-image