Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/php-strict/widgets-provider

Widgets Provider
https://github.com/php-strict/widgets-provider

php php-library php7 provider widget widget-library widgets

Last synced: 6 days ago
JSON representation

Widgets Provider

Awesome Lists containing this project

README

        

# Widgets Provider

[![Software License][ico-license]](LICENSE.txt)
[![Build Status][ico-travis]][link-travis]
[![codecov][ico-codecov]][link-codecov]
[![Codacy Badge][ico-codacy]][link-codacy]

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](https://github.com/php-strict/widgets-producer),
that are encapsulated in widgets data, for creating the widgets.

Widgets provider can take [widgets consumer](https://github.com/php-strict/widgets-consumer)
object as parameter of setWidgets method and inject widgets into it.

See main [widgets](https://github.com/php-strict/widgets) repository
for detail description and examples.

## Requirements

* PHP >= 7.1

## Install

Install with [Composer](http://getcomposer.org):

```bash
composer require php-strict/widgets-provider
```

[ico-license]: https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat-square
[ico-travis]: https://travis-ci.com/php-strict/widgets-provider.svg?branch=master
[link-travis]: https://travis-ci.com/php-strict/widgets-provider
[ico-codecov]: https://codecov.io/gh/php-strict/widgets-provider/branch/master/graph/badge.svg
[link-codecov]: https://codecov.io/gh/php-strict/widgets-provider
[ico-codacy]: https://api.codacy.com/project/badge/Grade/1ecddd641564460ea95e7dbd261438f1
[link-codacy]: https://www.codacy.com/app/php-strict/widgets-provider?utm_source=github.com&utm_medium=referral&utm_content=php-strict/widgets-provider&utm_campaign=Badge_Grade