双元素 / 简单可排序包
Symfony 3 可排序包
1.1.4
2022-09-15 21:17 UTC
Requires
- php: >=5.3.3
- stof/doctrine-extensions-bundle: ^1.2
- twig/twig: ^1.0||^2.0
This package is not auto-updated.
Last update: 2024-09-28 05:18:59 UTC
README
Symfony 3 为 CMS JELLINEK 的可排序包
-
首先将此包下载到您的项目中。首选方法是使用 Composer 包管理器
$ composer require twin-elements/sortable-bundle
注意:如果您尚未安装
Composer
,请查看[安装指南][2]。注意:如果您不使用
Composer
,请手动将SortableBundle
添加到自动加载器。 -
将此包添加到应用程序的内核中
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new TwinElements\SortableBundle\TwinElementsSortableBundle(), // ... ); }
-
添加到 routing.yml
# app/config/routing.yml twin_elements_sortable: resource: "@TwinElementsSortableBundle/Controller/" type: annotation prefix: /
使用方法
...