PHPackages                             exploring/status - 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. exploring/status

ActiveLibrary

exploring/status
================

Operation status announcer

2.0(2y ago)0240MITPHPPHP &gt;=7.1

Since Jun 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jperovic/exploring-status)[ Packagist](https://packagist.org/packages/exploring/status)[ RSS](/packages/exploring-status/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (8)Dependencies (5)Versions (11)Used By (0)

ExploringStatusBundle
=====================

[](#exploringstatusbundle)

This bundle aims to help with setting controller's operation status by elimination cumbersome checking of session flash bag.

Installation (via composer)
---------------------------

[](#installation-via-composer)

To install StatusBundle with Composer just add the following to your composer.json file:

```
{
    // ...
    require: {
        "exploring/status": "dev-master"
    }
}

```

Please replace the `dev-master` with some concrete release tag, for example, 1.\*

Then run:

```
php composer.phar update

```

And register the bundle within `AppKernel.php`

```
$bundles = array(
    ....
    new \Exploring\StatusBundle\ExploringStatusBundle(),
);
```

You are ready to roll.

Configuration
-------------

[](#configuration)

The bundle configuration is minimalistic. In order for it to work you just need:

```
exploring_status: ~
```

Operation status can be stored either in `session` (default) or `apc`. In order to use `apc` mode, depending of your php version, you might need to install it first.

This can be configured by specifying `engine` config entry:

```
exploring_status:
    engine: apc
```

Setting the operation status:
-----------------------------

[](#setting-the-operation-status)

```
$manager = $this->get('exploring_status.manager');

$manager->success('Yey, you did it!');

$manager->warning('Ok, everything went ok, but there is something fishy going on here.');

$manager->error('Couldn\'t do it :(');
```

Retrieving the operation status:
--------------------------------

[](#retrieving-the-operation-status)

You can do it from within controller or from `Twig` directly.

**PHP:**

```
$manager = $this->get('exploring_status.manager');

// Get first status, if exists
// This returns object of `StatusObject` type
$status = $manager->first();

// Get all status messages
// This returns `array` of `StatusObject` objects
$all = $manager->all();
```

**Twig:**

```
{# This prints first status message directly #}
{{ ExploringStatus_First() }}

{# This prints all status messages directly #}
{{ ExploringStatus_All() }}
```

Twig templates can be overridden easily. Please see [the official documentation](http://symfony.com/doc/current/cookbook/bundles/inheritance.html#overriding-resources-templates-routing-etc) for how-to.

Message groups:
---------------

[](#message-groups)

Status messages can be grouped. In fact, when you set the status message goes to `Default` group by default.

```
$manager = $this->get('exploring_status.manager');

// This message will go into `happiness` group
$manager->success('Yey, you did it!', 'happiness');

// This one goes into `Default`
$manager->warning('Ok, everything went ok, but there is something fishy going on here.');

// This one goes into `Fatal`
$manager->error('Couldn\'t do it :(', 'Fatal');
```

As for retrieving same rule applies as defined above - you only need to pass group name as argument.

**PHP:**

```
// Get first status from group `happiness`
// This returns object of `StatusObject` type
$status = $manager->first('happiness');

// Get all status messages from group `Fatal`
// This returns `array` of `StatusObject` objects
$all = $manager->all('Fatal');
```

**Twig:**

```
{# This prints first status message directly #}
{{ ExploringStatus_First('happiness') }}

{# This prints all status messages directly #}
{{ ExploringStatus_All('Fatal') }}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~384 days

Recently: every ~5 days

Total

10

Last Release

897d ago

Major Versions

1.8 → 2.02023-12-02

PHP version history (2 changes)1.0PHP &gt;=5.3.3

2.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6410e1381689a1204c909d14aa4b6843f5c4a8649a7d12b82856cf3b1bc7a2ed?d=identicon)[jperovic](/maintainers/jperovic)

---

Top Contributors

[![jperovic](https://avatars.githubusercontent.com/u/1048965?v=4)](https://github.com/jperovic "jperovic (20 commits)")

### Embed Badge

![Health badge](/badges/exploring-status/health.svg)

```
[![Health](https://phpackages.com/badges/exploring-status/health.svg)](https://phpackages.com/packages/exploring-status)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/storefront

Storefront for Shopware

684.2M148](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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