PHPackages                             dalle/cflash - 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. [Database &amp; ORM](/categories/database)
4. /
5. dalle/cflash

ActiveLibrary[Database &amp; ORM](/categories/database)

dalle/cflash
============

PHP classes for database handling upon PDO

016PHP

Since Nov 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dalleman/CFlash)[ Packagist](https://packagist.org/packages/dalle/cflash)[ RSS](/packages/dalle-cflash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CFLASH
======

[](#cflash)

[![Build Status](https://camo.githubusercontent.com/ebb89293dd5e5b5c8774802ba5d150bbdc5dc9346507d861f66ff522900aa4e1/68747470733a2f2f7472617669732d63692e6f72672f64616c6c656d616e2f43466c6173682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dalleman/CFlash)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0429e8c212c69d33e80f944c112c93a5b17cba4750d9be3f0cf4b02346c427c1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616c6c656d616e2f43466c6173682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dalleman/CFlash/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/0fe25c245c583accddc6446bf3ef10706d055a654c46c193dd5a66757a8a0317/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616c6c656d616e2f43466c6173682f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dalleman/CFlash/?branch=master)

The cflash class will be loaded using psr-4 protocols installing with packagist.

There are two functions in the class:

insert($message = '') Insert puts an entry into $\_SESSION\['CFlashMessage'\] and that entry is forwarded as the parameter $message.

printMessage() This prints a div encapsuling the message previously put in $\_SESSION\['CFlashMessage'\] and will after displaying it empty $\_SESSION\['CFlashMessage'\] so that it doesn't show it again.

I have also added a css-file that you can load into your previous css-file making the flash message look a little bit cleaner.

Make sure you have started an active session before using these functions otherwise you will get an error.
----------------------------------------------------------------------------------------------------------

[](#make-sure-you-have-started-an-active-session-before-using-these-functions-otherwise-you-will-get-an-error)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff34f43ebbb96ead5f757f65f2f247e0e20282edac3b289483c24d24b8750359?d=identicon)[dalleman](/maintainers/dalleman)

---

Top Contributors

[![dalleman](https://avatars.githubusercontent.com/u/9305972?v=4)](https://github.com/dalleman "dalleman (30 commits)")

### Embed Badge

![Health badge](/badges/dalle-cflash/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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