Are you the type of person that writes widgets by hand in view files or do you find yourself looking for the best place to store links to pages on your website? then this is for you!

Installation

Open your composer.json file and add the new required package.

    "pingpong/widget" : "~2.0"

Next, open your terminal and run composer update.

After composer updated, add new service provider in config/app.php :

    'Pingpong\Widget\WidgetServiceProvider',

And add facade in the same file

    'Widget' => 'Pingpong\Widget\WidgetFacade'

Done.

 

Advertisements