PHPackages                             sgolemon/table-flip - 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. sgolemon/table-flip

ActiveLibrary

sgolemon/table-flip
===================

Essential exception class needed by every good project.

1.0.5(9y ago)3393.5k8[1 PRs](https://github.com/sgolemon/table-flip/pulls)1Public DomainPHP

Since May 26Pushed 8y ago10 watchersCompare

[ Source](https://github.com/sgolemon/table-flip)[ Packagist](https://packagist.org/packages/sgolemon/table-flip)[ Docs](https://github.com/sgolemon/table-flip)[ RSS](/packages/sgolemon-table-flip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

Inspired by Adam Harvey:

`if ($situation === SHIT::HAPPENED) {（╯°□°）╯︵┻━┻(); }`

Usages:

- throw new （╯°□°）╯︵┻━┻; // TableFlip
- throw new （ノ゜Д゜）ノ︵┻━┻; // PudgyTableFlip
- throw new （ノಥ益ಥ）ノ︵┻━┻; // AgroTableFlip
- （╯°□°）╯︵┻━┻(); // Function shorthand
- assert(（╯°□°）╯︵┻━┻() ); // Use in an assert to only flip in dev

All three table-flip classes extend \\Exception and implement the ┻━┻ interface, so the following works:

```
try {
  $ret = doSomething();
  if ($ret === null) {
    throw new （╯°□°）╯︵┻━┻;
  } elseif ($ret === false) {
    throw new （ノಥ益ಥ）ノ︵┻━┻;
  } elseif (!is_string($ret)) {
    throw new （ノ゜Д゜）ノ︵┻━┻;
  }
} catch (┻━┻ $e) {
  ┬─┬﻿ノ（･_･ノ）;
}

```

Note that the parentheses used in the class/function names here are U+FF08 FULLWIDTH LEFT PARENTHESIS and U+FF09 FULLWIDTH RIGHT PARENTHESIS since normal parens (U+0028/U+0029) are not allowed in PHP labels.

Similarly, the customary space is omitted entirely to make this a valid PHP label.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 58.6% 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 ~135 days

Total

3

Last Release

3365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e7fd24eebfcbd0e9753a50a5ab51c025295665081e35addb79bc2cd7f93fa0d?d=identicon)[sgolemon](/maintainers/sgolemon)

---

Top Contributors

[![sgolemon](https://avatars.githubusercontent.com/u/812538?v=4)](https://github.com/sgolemon "sgolemon (17 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (3 commits)")[![DusanKasan](https://avatars.githubusercontent.com/u/4658499?v=4)](https://github.com/DusanKasan "DusanKasan (2 commits)")[![d3y4n](https://avatars.githubusercontent.com/u/771624?v=4)](https://github.com/d3y4n "d3y4n (2 commits)")[![hikari-no-yume](https://avatars.githubusercontent.com/u/579774?v=4)](https://github.com/hikari-no-yume "hikari-no-yume (1 commits)")[![simonwelsh](https://avatars.githubusercontent.com/u/125915?v=4)](https://github.com/simonwelsh "simonwelsh (1 commits)")[![chrisemerson](https://avatars.githubusercontent.com/u/4631704?v=4)](https://github.com/chrisemerson "chrisemerson (1 commits)")[![colinodell](https://avatars.githubusercontent.com/u/202034?v=4)](https://github.com/colinodell "colinodell (1 commits)")[![dstockto](https://avatars.githubusercontent.com/u/775393?v=4)](https://github.com/dstockto "dstockto (1 commits)")

---

Tags

exceptionsphpsillyexceptionfuntable-fliprage

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sgolemon-table-flip/health.svg)

```
[![Health](https://phpackages.com/badges/sgolemon-table-flip/health.svg)](https://phpackages.com/packages/sgolemon-table-flip)
```

###  Alternatives

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[facade/flare-client-php

Send PHP errors to Flare

51899.9M4](/packages/facade-flare-client-php)[spatie/flare-client-php

Send PHP errors to Flare

177148.0M15](/packages/spatie-flare-client-php)[pear/pear_exception

The PEAR Exception base class.

9880.2M101](/packages/pear-pear-exception)[yiisoft/friendly-exception

An interface for friendlier exception

491.8M44](/packages/yiisoft-friendly-exception)

PHPackages © 2026

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