2017 © Pedro Peláez
 

library session-buffer

image

haifanghui/session-buffer

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Installation

Add HaiFangHui/sessionbuffer to composer.json., (*1)

"HaiFangHui/sessionbuffer": "dev-master", (*2)

Run composer update to pull down the latest version of SessionBuffer., (*3)

Now open app/config/app.php, and add the service provider to your providers array, (*4)

'providers' => array(
    'HaiFangHui\SessionBuffer\SessionBufferServiceProvider',
)

Now add the alias, (*5)

'aliases' => array(
    'SessionBuffer' => HaiFangHui\SessionBuffer\SessionBufferFacade'
)

Configuration

To tune SessionBuffer, you could config your buffers like this, (*6)

php artisan config:publish haifanghui/sessionbuffer

Then you could modify app/config/packages/haifanghui/sessionbuffer/config.php. Modify as needed., (*7)

Usage

   SessionBuffer::push('view_history_properties', $property->id);

The Versions

29/09 2014

dev-master

9999999-dev

  Sources   Download

LGPL-2.1

The Requires