PHPackages                             xanweb/c5-item-list - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. xanweb/c5-item-list

ActiveLibrary[Templating &amp; Views](/categories/templating)

xanweb/c5-item-list
===================

Manage your list of items easily without need to write a bunch of code

v1.2.1(4y ago)1188[7 PRs](https://github.com/Xanweb/c5-item-list/pulls)MITJavaScriptPHP &gt;=7.2

Since Jan 1Pushed 3y ago5 watchersCompare

[ Source](https://github.com/Xanweb/c5-item-list)[ Packagist](https://packagist.org/packages/xanweb/c5-item-list)[ RSS](/packages/xanweb-c5-item-list/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (2)Versions (16)Used By (0)

Concrete5 Item List
===================

[](#concrete5-item-list)

Manage your list of items easily without need to write a bunch of code

Installation
------------

[](#installation)

Include library to your composer.json

```
composer require xanweb/c5-item-list
```

Add the service provider to `application/config/app.php`

```
return [
    'providers' => [
        'xw_item_list' => '\Xanweb\ItemList\ServiceProvider'
    ],
];
```

or load it from you package on\_start

```
public function on_start()
{
    $this->app->make(\Concrete\Core\Foundation\Service\ProviderList::class)->registerProvider(\Xanweb\ItemList\ServiceProvider::class);
}
```

Usage
-----

[](#usage)

1. Load optional assets depending on your needs:

    - Editor Assets (`$this->app['editor']->requireEditorAssets();`) if you need to use RichText Editor
    - File Manager Asset Group (`core/file-manager`) in case you will use File Selectors in your list
    - Sitemap Asset Group (`core/sitemap`) in case of using Page Selector in the list
    - Color Picker Asset Group (`core/colorpicker`) in case of using Color Picker in the list
2. Load required Item List Asset Group (`xw/item-list`)
3. Setup Item List HTML structure

```

```

4. Now we need to prepare our [Underscore.js](https://underscorejs.org/#template) item template

```
