lalamefine/autoadmin

Generate Admin pages automatically with no need for configuration (all access granted)

Fund package maintenance!
Buy Me A Coffee

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

v0.4.3 2025-09-26 20:20 UTC

This package is auto-updated.

Last update: 2025-09-26 20:27:57 UTC


README

This bundle generates admin pages automatically with no need for configuration. You can manage your Doctrine entities (list, create, edit, delete and associations, when included in entities) The interface is simple and without clutter nor noise and makes use of __toString() methods to display meaningful information. It only works with Single Column Identifiers for now but support for composite keys may be added in the future.

Installation

  1. Run composer require lalamefine/autoadmin

  2. If not done automatically, add the bundle in config/bundles.php:

    return [
        // ...
        Lalamefine\Autoadmin\LalamefineAutoadminBundle::class => ['all' => true], // add this line
    ];
  3. Add the route in config/routes/autoadmin.yaml:

    app_file:
        resource: '@LalamefineAutoadminBundle/config/routes.yaml'
        prefix: autoadmin

    You can change the prefix if you want (e.g. admin).

  4. ⚠ WARNING Configure security to restrict access :

    You need to configure security at routing level
    I do recommand restricting /autoadmin (or your custom prefix) to a specific user role in config/packages/security.yaml.

    security: 
        # ...
        access_control:
            - { path: ^/autoadmin, roles: ROLE_SUPER_ADMIN } # Add & customize this line
            # ...

Screenshots

From an improved version of the symfony sample project : https://github.com/symfony/demo

List

List

View

View

Edition after comments's "Edit" button is clicked (and 2 elements flagged for removal)

Edition

License

This bundle is distributed under the LGPL-3.0-or-later license. Basically, you can use and integrate the licensed software in proprietary projects, as long as modifications to the LGPL-covered code itself remain open-source and shared. See the LICENSE file for more details.