PHPackages                             boson-php/weak-types - 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. boson-php/weak-types

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

boson-php/weak-types
====================

Provides weak structures and types

0.19.5(7mo ago)04.0k—0%3MITPHPPHP ^8.4CI passing

Since May 24Pushed 3mo agoCompare

[ Source](https://github.com/boson-php/weak-types)[ Packagist](https://packagist.org/packages/boson-php/weak-types)[ Docs](https://bosonphp.com)[ RSS](/packages/boson-php-weak-types/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (21)Used By (3)

[ ![](https://camo.githubusercontent.com/ccd736237b4673a12a5b6ee94fa1e310626e830b4bc9394a94f28ce1642dde78/68747470733a2f2f686162726173746f726167652e6f72672f776562742f2d382f68312f356f2f2d386831356f366b6c62676131336b7a736c7471716d6b386a6c6d2e706e67)](https://github.com/boson-php/boson)---

 [![PHP 8.4+](https://camo.githubusercontent.com/3bdbf24f92e4e08e8ff8271446af05f771ff94b43dd591eaf84f14401935d5a6/68747470733a2f2f706f7365722e707567782e6f72672f626f736f6e2d7068702f7765616b2d74797065732f726571756972652f7068703f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/boson-php/weak-types) [![Latest Stable Version](https://camo.githubusercontent.com/d2a01ed9005a07e94253d54a4ff747db7a43e62b8975b12d38669f4a3095869f/68747470733a2f2f706f7365722e707567782e6f72672f626f736f6e2d7068702f7765616b2d74797065732f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/boson-php/weak-types) [![Latest Unstable Version](https://camo.githubusercontent.com/2e2c06ea48de3fc822544693c8b3668812e2605f46a86d3d03f73e7d470a3426/68747470733a2f2f706f7365722e707567782e6f72672f626f736f6e2d7068702f7765616b2d74797065732f762f756e737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/boson-php/weak-types) [![License MIT](https://camo.githubusercontent.com/b2e8367e8690ac6a98248b1b54fe3ec32f05f59ac8d23a30a7dfa19ff4ccaf78/68747470733a2f2f706f7365722e707567782e6f72672f626f736f6e2d7068702f7765616b2d74797065732f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://raw.githubusercontent.com/boson-php/boson/blob/master/LICENSE) [![Telegram](https://camo.githubusercontent.com/fa212c56b2ddd82fcaaaec3ddbeacbd52b672feddbb2092e015cbb5eab5e57dd/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d266d6573736167653d4a6f696e2b546f2b436f6d6d756e69747926636f6c6f723d323441314445267374796c653d666f722d7468652d6261646765266c6f676f3d74656c656772616d266c6f676f436f6c6f723d7768697465)](https://t.me/boson_php)

 [![](https://camo.githubusercontent.com/f2941d9b60a0108c7abd46c998e224daf8534cf288a504fa856b2fc885cebd62/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626f736f6e2d7068702f626f736f6e2f74657374732e796d6c3f6c6162656c3d5465737473267374796c653d666c61742d737175617265266c6f676f3d756e706b67)](https://github.com/boson-php/weak-types/actions/workflows/tests.yml)

Installation
------------

[](#installation)

Boson package is available as Composer repository and can be installed using the following command in a root of your project:

```
composer require boson-php/weak-types
```

Documentation
-------------

[](#documentation)

- You can learn more [about what a Boson is](https://bosonphp.com/doc/0.19/introduction).
- Information [about the configs](https://bosonphp.com/doc/0.19/configuration) is available on the [corresponding pages](https://bosonphp.com/doc/0.19/application-configuration).
- A more detailed description of working with the [application](https://bosonphp.com/doc/0.19/application), [windows](https://bosonphp.com/doc/0.19/window) and [webview](https://bosonphp.com/doc/0.19/webview)is also available.
- Also, do not miss the detailed guide on additional apps for working with [function bindings](https://bosonphp.com/doc/0.19/bindings-api), [scripts](https://bosonphp.com/doc/0.19/scripts-api), [request interception](https://bosonphp.com/doc/0.19/schemes-api), and more.
- If you want to build an application based on [Symfony](https://bosonphp.com/doc/0.19/symfony-adapter), [Laravel](https://bosonphp.com/doc/0.19/laravel-adapter) and [others](https://bosonphp.com/doc/0.19/psr7-adapter), then similar functionality is also available.

Community
---------

[](#community)

- Any questions left? You can ask them [in the chat `t.me/boson_php`](https://t.me/boson_php)!

Contributing
------------

[](#contributing)

Boson is an Open Source, [community-driven project](https://github.com/boson-php/boson/graphs/contributors). Join them [contributing code](https://bosonphp.com/doc/0.19/contribution).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance72

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~0 days

Total

20

Last Release

223d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (26 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/boson-php-weak-types/health.svg)

```
[![Health](https://phpackages.com/badges/boson-php-weak-types/health.svg)](https://phpackages.com/packages/boson-php-weak-types)
```

PHPackages © 2026

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