haifanghui / session-buffer
dev-master
2014-09-29 05:56 UTC
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2024-11-19 02:11:47 UTC
README
Add HaiFangHui/sessionbuffer
to composer.json
.
"HaiFangHui/sessionbuffer": "dev-master"
Run composer update
to pull down the latest version of SessionBuffer.
Now open app/config/app.php
, and add the service provider to your providers
array
'providers' => array( 'HaiFangHui\SessionBuffer\SessionBufferServiceProvider', )
Now add the alias
'aliases' => array( 'SessionBuffer' => HaiFangHui\SessionBuffer\SessionBufferFacade' )
Configuration
To tune SessionBuffer, you could config your buffers like this
php artisan config:publish haifanghui/sessionbuffer
Then you could modify app/config/packages/haifanghui/sessionbuffer/config.php
. Modify as needed.
Usage
SessionBuffer::push('view_history_properties', $property->id);