PHPackages                             morilog/widgetify - 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. [Caching](/categories/caching)
4. /
5. morilog/widgetify

ActiveLibrary[Caching](/categories/caching)

morilog/widgetify
=================

A powerful laravel widget package. capsulate ui componenet as widget. similar to Yii widgets

v1.0.0(8y ago)112.5k1MITPHPPHP &gt;=5.5.9

Since Nov 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/morilog/widgetify)[ Packagist](https://packagist.org/packages/morilog/widgetify)[ RSS](/packages/morilog-widgetify/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Widgetify
=========

[](#widgetify)

Laravel widget package for Laravel &gt;= 5.1

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

[](#installation)

```
composer require morilog/widgetify

```

#### Register in Laravel

[](#register-in-laravel)

- Add `Morilog\Widgetify\WidgetifyServiceProvider` to `config/app.php` providers array
- If you need to Facade for rendering widgets, add bellow in `config/app.php` aliases array :

```
	'Widgetify' => Morilog\Widgetify\Facades\Widgetify::class
```

- For publish Widgetify config file, run this command:

```
php artisan vendor:publish --provider="Morilog\Widgetify\WidgetifyServiceProvider"

```

---

Usage
-----

[](#usage)

#### Create new widget

[](#create-new-widget)

For creating new widget you must create a class that extended `Morilog\Widgetify\Widget` and implement `handle()` method.

```
