Search by

omnipack / admin

GlitchArt

Administration backoffice for base-bundle: dynamic CRUD, dashboard, menus and field-based form generation

Package info

github.com/glitchr-omnisense/omnipack-admin

Type:symfony-bundle

pkg:composer/omnipack/admin

Statistics

Installs: 40

Dependents: 23

Suggesters: 6

Stars: 0

Open Issues: 0

v2.1.0 2026-11-22 05:20 UTC

This package is auto-updated.

Last update: 2026-11-22 05:28:00 UTC


README

Administration backoffice extension for omnisense/omnibase: dynamic CRUD controllers, dashboard, menus and field-based form generation — with no dependency on easycorp/easyadmin-bundle.

This package owns the Base\Admin\ namespace. It is a from-scratch replacement for EasyAdmin, designed around three ideas:

  • One field system, everywhere. Base\Admin\Field\XxxField descriptors pre-wire Base\Field\Type\XxxType — genuine Symfony Form types living in omnisense/omnibase — so the exact same form fields work inside the admin and in any regular controller or frontend form.
  • A simple, direct CRUD pipeline. AbstractCrudController actions are plain, linear, overridable controller methods (index, detail, edit, new, delete) — no event-dispatch indirection, no builder/DTO duplication.
  • Website-in-website UX. The admin mounts as a transparentJS (now @glitchr/flowjs) overlay over the current page: opening the admin is a real navigation to a real URL, and the top-left "×" instantly returns to the exact page you were on. Without transparentJS, every link degrades to a regular full page load.

Installation

composer require omnipack/admin

Under Symfony it runs on the core's Symfony host: Composer brings omnisense/omnibase 7.0 and omnibridge/symfony with it; config/bundles.php registers the core's bundle before this one (see the core's README for the other bundles a site usually adds):

// config/bundles.php
Base\BaseBundle::class => ['all' => true],
Base\Admin\AdminBundle::class => ['all' => true],

A first screen: import the CRUD routes and give the back office its front door, a dashboard controller - docs/installation.md has both, then /admin opens the back office for a signed-in ROLE_ADMIN.

Requirements

  • PHP 8.1+
  • Symfony 6.0+ / 7.0+ / 8.0+
  • omnisense/omnibase 7.0 or later 7.x, omnibridge/symfony 3.0 or later 3.x

Documentation

The manual is in docs/: installation, writing a CRUD, the dashboard and the menu, CRUD fields, who may write in a CRUD, system pages, graphs, the configuration reference and the reference (routes, Twig, listeners, voter).

Contextual, on-the-fly documentation for backoffice users is provided by the companion package omnipack/docs, which plugs into this bundle's help panel.

Tests

make tests

License

MIT: the text of the license is in LICENSE. MIT since 2026-10-09; earlier versions remain published under LGPL-3.0-or-later. See SECURITY.md for the vulnerability disclosure policy.