Download the PHP package buzzingpixel/corbomite-flash-data without Composer
On this page you can find all versions of the php package buzzingpixel/corbomite-flash-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download buzzingpixel/corbomite-flash-data
More information about buzzingpixel/corbomite-flash-data
Files in buzzingpixel/corbomite-flash-data
Package corbomite-flash-data
Short Description Corbomite Flash Data
License Apache-2.0
Informations about the package corbomite-flash-data
Corbomite Flash Data
Part of BuzzingPixel's Corbomite project.
Provides a means of flashing data to the next user's HTTP request.
Notes
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
Corbomite Flash Data provides a schedule config for 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
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.
After running that command, you'll need to run the migrations:
Usage
Setting flash data
Getting flash data
Note that the flash data will be deleted immediately upon retrieval unless an argument of false is provided to getFlashData
.
License
Copyright 2019 BuzzingPixel, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
All versions of corbomite-flash-data with dependencies
ext-json Version *
buzzingpixel/cookie-api Version ^2.0
buzzingpixel/corbomite-db Version ^1.3
buzzingpixel/corbomite-di Version ^1.2
buzzingpixel/corbomite-migrations Version ^1.1
ramsey/uuid Version ^3.8
symfony/filesystem Version ^4.2