Skip to content

Firestore session driver for Laravel app running inside Google App Engine.

License

Notifications You must be signed in to change notification settings

firevel/firestore-session-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firevel - Firestore session driver

Firestore session driver for Laravel and Firevel compatible with Google App Engine standard environment (PHP 7.3).

Installation

  1. Install package with composer require firevel/firestore-session-driver

  2. Update your app.yaml with:

env_variables:
  SESSION_DRIVER: firestore

Limitations

Check Firestore Quotas and Limits.

High availability applications

If you like to use this driver in high load applications, watch garbage collection that can be a bottleneck.

Modify config.sessions.lottery value to set how often garbage collection should happen, and app.yaml SESSION_GC_BATCH_SIZE to define garbage collection batch size.

If extremal cases do manual garbage collection from cron job, or shift to cookie driver.

About

Firestore session driver for Laravel app running inside Google App Engine.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages