node-laravel

0.9.6 • Public • Published

node-laravel

Node.js library for inter-operating with Laravel.

API

decrypt(key, iv, cipher) => string

Decrypt cipher text using the Laravel application encryption key and provided initialization vector.

deserialize(string) => string

Deserialize data serialized by PHP.

encrypt(key, iv, plain) => string

Encrypt plain text using the Laravel application encryption key and provided initialization vector.

readCookie(key, cookie) => string

Extract the encrypted and encoded session id from a Laravel session cookie value.

readCookies(key, [cookieName], cookies) => string

Extract the encrypted and encoded session id from Laravel session cookie.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.9.623latest

Version History

VersionDownloads (Last 7 Days)Published
0.9.623
0.9.52
0.9.42
0.9.32
0.9.22
0.9.12
0.9.02
0.0.62
0.0.53
0.0.42
0.0.32
0.0.22
0.0.13

Package Sidebar

Install

npm i node-laravel

Weekly Downloads

49

Version

0.9.6

License

MIT

Unpacked Size

14.1 kB

Total Files

12

Last publish

Collaborators

  • rremer