Search by

drago-ex / project-preset

accgit

Overlay preset that turns an installed Drago Project into a backend-ready stack.

Package info

github.com/drago-ex/project-preset

Language:JavaScript

Type:drago-tools-resource

pkg:composer/drago-ex/project-preset

Statistics

Installs: 131

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.1.0 2026-11-15 01:50 UTC

This package is auto-updated.

Last update: 2026-12-05 11:07:27 UTC


README

Installs the complete website with administration into a Drago Project at once and brings the administration assets composed for all its packages.

PHP version Coding Style

Requirements

Installation

composer require drago-ex/project-preset

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

Included Packages

They bring their own dependencies.

Settings

BasePresenter and BaseTemplate of Front UI are replaced once with ones that load the settings (SettingsRequire of Settings) into every template: the brand of every layout shows the name of the website, the website its description.

User menu

The user menu in the navbar of the administration (Backend/@navbar-user.latte of Drago UI) is replaced once with one for the signed-in user: the name of the account, the roles (custom roles of Permission by their title), a link to the account, the theme switch and the sign out.

Permissions

Drago UI leaves its menu editor open to everyone, so a bare project without users can be clicked through. The preset replaces its Backend/Menu/acl.neon once with one for administrators only; another role gets the menu editor on the permissions page.

Assets

The preset copies assets/admin.js and assets/admin.scss into the project, replacing the ones of the other packages once. They already register the scripts and import the styles of all included packages, so the administration works after npm install and npm run vite:build without further changes.