sgromada/symfony-crud-bundle
最新稳定版本:1.0.0
Composer 安装命令:
composer require sgromada/symfony-crud-bundle
包简介
Provides a trait to rapidly create CRUD
README 文档
README
Example of use:
' #[Route('example', name: 'panel_example_')] class ExampleController extends AbstractController { use CrudTrait;
public function __construct(
protected EntityManagerInterface $entityManager,
protected string $class = Example::class,
protected string $form = ExampleFormType::class,
protected string $templatePath = 'example',
) {
}
} ''
Then create twig files in directory and call routes example/index.html.twig => panel_example_index example/show.html.twig => panel_example_show example/update.html.twig => panel_example_update example/create.html.twig => panel_example_create
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-11-19