2017 © Pedro Peláez
 

library laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

image

rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  • Sunday, May 1, 2016
  • by rubenarakelyan
  • Repository
  • 1 Watchers
  • 3 Stars
  • 1,548 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 89 % Grown

The README.md

Transfer Session Files to Redis command for Laravel

This package provides an Artisan command for Laravel to transfer existing session from file-based storage to Redis. It is intended to be used during a migration from file-based to Redis session management, in order to preserve existing sessions., (*1)

Requirements

  • PHP 5.5
  • Laravel 4 or 5

Installation

Composer, (*2)

Run the following to include this via Composer, (*3)

composer require rubenarakelyan/laravel-session-files-to-redis

Laravel Configuration

To install into a Laravel project, first do the composer install then add the following class to your config/app.php service providers list., (*4)

RubenArakelyan\LaravelSessionFilesToRedis\LaravelServiceProvider::class,

Artisan Command, (*5)

The Artisan command registered by this command is session:transfer-session-files-to-redis. Running this command will output Redis protocol-compatible commands. By default, the command outputs to the standard console output. To run the output commands in Redis, you need to pipe the output of this command to the redis-cli application as follows:, (*6)

php artisan session:transfer-session-files-to-redis | redis-cli --pipe

Once this has been completed successfully, you can switch the Laravel session configuration to use Redis, and delete the old session files., (*7)

Contribution Guidelines

When contributing please consider the following guidelines:, (*8)

  • Please conform to the code style of the project.
  • All methods and classes must contain docblocks.
  • When planning a pull request to add new functionality, it may be wise to submit a proposal to ensure compatibility with the project's goals.

Maintainer

This package is maintained by Ruben Arakelyan., (*9)

License

This package is licensed under the MIT license., (*10)

The Versions

01/05 2016

dev-master

9999999-dev https://github.com/rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  Sources   Download

MIT

The Requires

 

laravel redis session migrate

01/05 2016

v1.0.3

1.0.3.0 https://github.com/rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  Sources   Download

MIT

The Requires

 

laravel redis session migrate

01/05 2016

v1.0.2

1.0.2.0 https://github.com/rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  Sources   Download

MIT

The Requires

 

laravel redis session migrate

01/05 2016

v1.0.1

1.0.1.0 https://github.com/rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  Sources   Download

MIT

The Requires

 

laravel redis session migrate

01/05 2016

v1.0

1.0.0.0 https://github.com/rubenarakelyan/laravel-session-files-to-redis

Laravel command to migrate sessions from file storage to Redis.

  Sources   Download

MIT

The Requires

 

laravel redis session migrate