caffeinated/widgets

Laravel 5 Widgets

v2.1.1 2016-03-06 05:19 UTC

This package is auto-updated.

Last update: 2020-03-06 18:34:04 UTC


README

Caffeinated Widgets

Laravel 5.1 Laravel 5.2 Source License

Easily create reusable widget components to be used throughout your Laravel application. Widgets are very similar to Laravel's view composers, but in more of a dedicated sense.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code. At the moment the package is not unit tested, but is planned to be covered later down the road.

Documentation

You will find user friendly and updated documentation in the wiki here: Caffeinated Widgets Wiki

Quick Installation

Begin by installing the package through Composer.

composer require caffeinated/widgets

Once this operation is complete, simply add the service provider class and facade alias to your project's config/app.php file:

Service Provider
Caffeinated\Widgets\WidgetsServiceProvider::class,
Facade
'Widget' => Caffeinated\Widgets\Facades\Widget::class,

And that's it! With your coffee in reach, start building out some awesome widgets!