PHPackages                             temirkhann/generic - 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. temirkhann/generic

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

temirkhann/generic
==================

Basic generic tools

0.5.4(2y ago)0805MITPHPPHP ^7.4|^8.0

Since Oct 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/TemirkhanN/generic)[ Packagist](https://packagist.org/packages/temirkhann/generic)[ RSS](/packages/temirkhann-generic/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (12)Used By (0)

generic
=======

[](#generic)

Basic generic classes/interfaces for php

Why?
----

[](#why)

While we are waiting for a native generics support it is a good idea to try the concept on.

How?
----

[](#how)

Personally I'm tired of checked exception usage, and thus it lead me to command result usage.

### WARNING

[](#warning)

Starting with php8.0 union types are more effective than this approach. It is twice as efficient and has better/native highlight.

```
