PHPackages                             konkon1234/laravel-native-session-bridge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. konkon1234/laravel-native-session-bridge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

konkon1234/laravel-native-session-bridge
========================================

session bridge for laravel5 to native php script.

v0.1.0(8y ago)0551MITPHP

Since May 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/konkon1234/laravel-native-session-bridge)[ Packagist](https://packagist.org/packages/konkon1234/laravel-native-session-bridge)[ RSS](/packages/konkon1234-laravel-native-session-bridge/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

laravel native session bridge
=============================

[](#laravel-native-session-bridge)

This library allows for bidirectional reading and writing of the Laravel application of Session management using Mysql Database and the $\_SESSION object of Native php.

Support Version
---------------

[](#support-version)

- php 5.6 or higher
- Laravel 5.3, 5.4

Usage
-----

[](#usage)

set session handler.

example.

```
$handler = new \Konkon1234\LaravelNativeSessionBridge\LaravelFormatSessionHandlerClient($pdo, $db_name, [
    // Give the same settings as Laravel

    'table' => 'sessions',
    'encrypt' => false,
    'app_key' => null,
    'cipher' => 'AES-256-CBC',
    'cookie' => 'laravel_session',
    'lifetime' => 120,
    'path' => '/',
    'domain' => null,
    'secure' => false,
    'http_only' => true,
]);

ini_set('session.serialize_handler', 'php_serialize'); // require
session_name('laravel_session'); // require
session_set_save_handler($handler, false); // require register_shutdown is false.

session_start();

// You can get the value set in Laravel from $ _SESSION
// $request->session()->put('from_laravel', 'message from laravel');
echo $_SESSION['from_laravel'];

// Once you have set a value for the native session object, you can retrieve it with Laravel
// $request->session()->get('from_native');
$_SESSION['from_native'] = 'message from native';
```

How to install
--------------

[](#how-to-install)

composer require konkon1234/laravel-native-session-bridge

Lisence
-------

[](#lisence)

MIT Lisence

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3279d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c010955f2ba19712ec5ce91d33f1eb8ffd2b7eec349abefe9534a02a1451f15c?d=identicon)[konkon1234](/maintainers/konkon1234)

---

Top Contributors

[![konkon1234](https://avatars.githubusercontent.com/u/2101071?v=4)](https://github.com/konkon1234 "konkon1234 (4 commits)")

### Embed Badge

![Health badge](/badges/konkon1234-laravel-native-session-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/konkon1234-laravel-native-session-bridge/health.svg)](https://phpackages.com/packages/konkon1234-laravel-native-session-bridge)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.1M30](/packages/prologue-alerts)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[illuminatech/balance

Provides support for Balance accounting system based on debit and credit principle

16137.4k](/packages/illuminatech-balance)[kim/activity

Easily retrieve a list of users and guests that are online.

12830.4k](/packages/kim-activity)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
