symkit/crud-bundle
最新稳定版本:v0.0.4
Composer 安装命令:
composer require symkit/crud-bundle
包简介
Symfony bundle for generic CRUD, Live lists (filters, sort, pagination), Twig components (BackLink, DeleteForm, CrudList, CrudFilters) and Stimulus
README 文档
README
Powerful, event-driven CRUD and Live List system for Symfony.
Symkit CRUD simplifies administration and data management by providing a flexible persistence layer and modern interactive list components.
🚀 Quick Start in 60 Seconds
1. Install
composer require symkit/crud-bundle
2. Create your Controller
Extend AbstractCrudController and let the magic happen:
#[Route('/admin/products')] final class ProductController extends AbstractCrudController { protected function getEntityClass(): string => Product::class; protected function getFormClass(): string => ProductType::class; protected function getRoutePrefix(): string => 'admin_product'; #[Route('/', name: 'admin_product_list')] public function index(Request $request): Response => $this->renderIndex($request); }
3. Display your List
That's it! You now have a full-featured list with pagination, sorting, and real-time search powered by Symfony UX Live Components.
📖 Explore the Documentation
- Installation Guide — Get up and running.
- Configuration — Customize features and defaults.
- CRUD System — Mastering controllers, events, and persistence.
- List System — Live filters, custom fields, and search.
- Utility Components — Back links, delete forms, and more.
🛠 Related Packages
- symkit/form-bundle — Rich form types and Tailwind theme. (Required)
- symkit/metadata-bundle — SEO and breadcrumbs integration. (Required)
🤝 Contributing
We welcome contributions!
- Quality Check:
make quality - Run Tests:
make test - Fix CS:
make cs-fix
Symkit is a collection of modern Symfony bundles built for developer productivity.
统计信息
- 总下载量: 410
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 8
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-21