lalamefine/autoadmin
最新稳定版本:v1.0.3
Composer 安装命令:
composer require lalamefine/autoadmin
包简介
Generate Symfony Admin pages automatically from your Doctrine entities
README 文档
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
-
Run
composer require lalamefine/autoadmin -
If not done automatically, add the bundle in
config/bundles.php:return [ // ... Lalamefine\Autoadmin\LalamefineAutoadminBundle::class => ['all' => true], // add this line ];
-
Add the route in
config/routes/autoadmin.yaml:autoadmin: resource: '@LalamefineAutoadminBundle/config/routes.yaml' prefix: autoadmin
You can change the prefix if you want (e.g.
admin). -
⚠ 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 inconfig/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
View
Edition after comments's "Edit" button is clicked (and 2 elements flagged for removal)
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.
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2025-09-24


