Search by

drago-ex / project-backend

accgit

Preconfigured basic backend module for the basic Drago Project.

Package info

github.com/drago-ex/project-backend

Type:drago-tools-resource

pkg:composer/drago-ex/project-backend

Statistics

Installs: 370

Dependents: 8

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-10-29 22:17 UTC

This package is auto-updated.

Last update: 2026-11-05 19:06:52 UTC


README

The administration module of Drago Project: the Backend presenters under /admin, a basic layout, the dashboard page and the admin.js/admin.scss entry point. Feature packages add their pages to it.

PHP version Tests Coding Style

Requirements

Installation

composer require drago-ex/project-backend

Project Tools copies the files of the package into the project, where you adapt them.

Usage

The route [<lang>/]admin/<presenter>/<action> is added by Backend/8.conf.neon; the dashboard is :Backend:Admin:default. Presenters of the module extend App\Presentation\Backend\BackendPresenter.

For the administration layout with a sidebar menu, sign-in and the user menu, add Backend UI.

Permissions

Every presenter is checked by the ACL. The rules are in Backend/Admin/acl.neon: the resource Backend:Admin, for the administrator only; a guest is sent to the sign-in page of Project Auth.

The same file describes the privileges (permissionLabels) for the permissions page of Project Permission.