PHPackages                             buzzingpixel/corbomite-flash-data - 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. buzzingpixel/corbomite-flash-data

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

buzzingpixel/corbomite-flash-data
=================================

Corbomite Flash Data

1.2.0(7y ago)02231Apache-2.0PHPPHP &gt;=7.2

Since Jan 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/buzzingpixel/corbomite-flash-data)[ Packagist](https://packagist.org/packages/buzzingpixel/corbomite-flash-data)[ RSS](/packages/buzzingpixel-corbomite-flash-data/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (6)Dependencies (16)Versions (8)Used By (1)

Corbomite Flash Data
====================

[](#corbomite-flash-data)

[![](https://camo.githubusercontent.com/ae69a59f81c2be4005da10faf6d8d51b08649d9264d62a098a560f2eea8e603a/68747470733a2f2f7472617669732d63692e6f72672f62757a7a696e67706978656c2f636f72626f6d6974652d666c6173682d646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buzzingpixel/corbomite-flash-data)

Part of BuzzingPixel's Corbomite project.

Provides a means of flashing data to the next user's HTTP request.

Notes
-----

[](#notes)

### Flash Data Storage

[](#flash-data-storage)

Corbomite Flash Data uses cookies only to store the reference to the UUID key of the user's flash data table. This means that, since data is not being stored in a cookie, you can flash almost any data you want (within reason).

### Garbage Collection

[](#garbage-collection)

Corbomite Flash Data provides a schedule config for [Corbomite Schedule](https://github.com/buzzingpixel/corbomite-schedule) to run the Corbomite garbage collector. Flash data is meant to be short lived, therefore this garbage collector removes flash data that is more than 2 minutes old. You'll want to be sure that you've installed and set up the scheduler and that it's running on your application in production.

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

[](#installation)

Corbomite Flash Data needs to add a database table in order to function. In order to do this, it needs to create some migrations which then need to be run. Run the `create-migrations` command, which will place migration files in your Corbomite project.

```
php app flash/create-migrations
```

After running that command, you'll need to run the migrations:

```
php app migrate/up
```

Usage
-----

[](#usage)

Setting flash data

```
