PHPackages                             chapcz/chap-adminlte - 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. chapcz/chap-adminlte

ActiveProject

chapcz/chap-adminlte
====================

Administration control

2.1.6(2y ago)61463[6 PRs](https://github.com/chapcz/chap-adminlte/pulls)MITCSSPHP &gt;= 7.2CI failing

Since Dec 21Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/chapcz/chap-adminlte)[ Packagist](https://packagist.org/packages/chapcz/chap-adminlte)[ RSS](/packages/chapcz-chap-adminlte/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (20)Used By (0)

Nette Framework AdminLTE Control
================================

[](#nette-framework-adminlte-control)

- [AdminLTE](https://github.com/almasaeed2010/AdminLTE)
- [Nette Framework](https://nette.org/)

This extension simplifies the creation of Administration control.

Features:

- Easy install and use
- Included scripts and styles
- Simple use of multiple notification panels
- Translations
- Prepared login control
- PHP 7.2 strict
- PHPStan level 7
- Configurable as Nette extension
- Menu tree configurable in neon (also user restrictions)

Usage
-----

[](#usage)

- [Sandbox with example integration](https://github.com/chapcz/admin-sandbox)

To use this extension, require it in [Composer](https://getcomposer.org/):

```
composer require chapcz/chap-adminlte
```

Minimal setup

```
extensions:
	admin: Chap\AdminLTE\DI\Extension

admin:

	menu:
		-
			name: "Home"
			link: "Admin:"
			icon: "fa-files-o"
			resource: "home"
			privilege: "view"
		-
			name: "Dvaaa"
			icon: "fa-pie-chart"
			role: "user"
			items:
				-
					name: Boo
					link: "Admin:boo"
					icon: fa-trip
				-
					name: Foo
					link: "Admin:foo"
					icon: fa-trip
					items:
					    -
					        name: Hoo
					        link: "Admin:hoo"
					        icon: fa-trip
```

### Example with panels and search callback

[](#example-with-panels-and-search-callback)

Presenter

```
