php-strict/widgets-provider

Widgets Provider.


Keywords
php, provider, widget, php-library, php7, widget-library, widgets
License
GPL-2.0-or-later

Documentation

Widgets Provider

Software License

Widgets Provider repository.

This repository contains interfaces of widgets provider, widgets data storage and widget. Alsow it contains basic implementation of this interfaces.

Widgets providers works with widgets data storage. Widgets data storage stores information about widgets scope, place and some widget type dependent parameters. Widgets provider refers to the widgets producers, that are encapsulated in widgets data, for creating the widgets.

Widgets provider can take widgets consumer object as parameter of setWidgets method and inject widgets into it.

See main widgets repository for detail description and examples.

Requirements

  • PHP >= 7.1

Install

Install with Composer:

composer require php-strict/widgets-provider