jagilpe/entity-list-bundle
Composer 安装命令:
composer require jagilpe/entity-list-bundle
包简介
A Symfony Bundle for the creation and rendering of list of entities
README 文档
README
EntityListBundle is a Symfony Bundle for for building and rendering lists of entities.
Installation
You can install the bundle using composer:
composer require jagilpe/entity-list-bundle
or add the package to your composer.json file directly.
To enable the bundle, you just have to register the bundle in your AppKernel.php file:
// in AppKernel::registerBundles() $bundles = array( // ... new Jagilpe\EntityListBundle\JagilpeEntityListBundle(), // ... );
Finally you have to include the provided javascript file somewhere in your base template. If you use assetic to manage the assets:
{% block javascripts %}
{{ parent() }}
{% javascripts
'bundles/jagilpeentitylist/js/jgp-searchable-table.js' %}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock %}
This javascript depends on jQuery, List.js (>=1.5.0). Please refer to jQuery and List.js documentation for instructions on how to enable it in your project.
Documentation
You can read the documentation of the usage of the bundle here
You can also see a demo of this bundle in https://demos.gilpereda.com/symfony-bundles/entity-list/ or directly download the demo from https://github.com/jagilpe/bundles-demo
API Reference
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-02