PHPackages                             php-strict/widgets - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-strict/widgets

ActiveProject[Utility &amp; Helpers](/categories/utility)

php-strict/widgets
==================

Widgets examples repository.

111PHP

Since May 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/php-strict/widgets)[ Packagist](https://packagist.org/packages/php-strict/widgets)[ RSS](/packages/php-strict-widgets/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Widgets
=======

[](#widgets)

[![Software License](https://camo.githubusercontent.com/e1514dd3f2095dbf68a0008ae62a631142953ad2e86aa94c504343f2c2c191da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

Widgets mechanism allow [widgets consumer](https://github.com/php-strict/widgets-consumer)gets widgets from widgets provider and place any widgets in predefined places. Widgets consumer ask widgets provider for widgets for specific scope/place, throught provider public interface. Or widgets provider can take consumer-object as parameter and inject widgets into it. For this purposes widgets consumer define public methods to gets current scope and all places for current scope.

[Widgets providers](https://github.com/php-strict/widgets-provider)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 producer](https://github.com/php-strict/widgets-producer)takes widgets data and create widget. Widgets producer may be a standalone (weather, currency, ...), or a part of some module (for example - last news for news module).

[![Widgets on web-site mainpage](https://raw.githubusercontent.com/php-strict/widgets/master/img/workflow.svg?sanitize=true)](https://raw.githubusercontent.com/php-strict/widgets/master/img/workflow.svg?sanitize=true)

[![Widgets on web-site other page](https://raw.githubusercontent.com/php-strict/widgets/master/img/workflow2.svg?sanitize=true)](https://raw.githubusercontent.com/php-strict/widgets/master/img/workflow2.svg?sanitize=true)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1

Install
-------

[](#install)

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

- widgets consumer

```
composer require php-strict/widgets-consumer
```

- widgets provider

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

- widgets producer

```
composer require php-strict/widgets-producer
```

Usage
-----

[](#usage)

See examples in [src](https://github.com/php-strict/widgets/tree/master/src) dir.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f404fa292f952ba0429cfe11f608e982e0d9d645f2ac864c53abee7f71dff2b?d=identicon)[enikeishik](/maintainers/enikeishik)

---

Top Contributors

[![enikeishik](https://avatars.githubusercontent.com/u/2239913?v=4)](https://github.com/enikeishik "enikeishik (27 commits)")

---

Tags

phpphp-libraryphp7widgetwidget-librarywidget-toolkitwidgets

### Embed Badge

![Health badge](/badges/php-strict-widgets/health.svg)

```
[![Health](https://phpackages.com/badges/php-strict-widgets/health.svg)](https://phpackages.com/packages/php-strict-widgets)
```

###  Alternatives

[aryehraber/statamic-splash

Browse Unsplash images right from the CP.

125.8k](/packages/aryehraber-statamic-splash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
