Download the PHP package kyslik/django-signer without Composer
On this page you can find all versions of the php package kyslik/django-signer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package django-signer
django-signer
This package is upgraded version of cwygoda/signing package, with timestamps support to match django 1.10 functionality.
Setup
Composer
Pull this package in through Composer (development/latest version dev-master
)
$ composer update
for Laravel 5.4
add timestamp-signer service provider
Usage
Instantiate new Signer object:
Note:
$separator
defaults to:
,$salt
defaults todjango.core.signing
Note: Exception is thrown in case of unsuccesfull unsigning.
Signing / unsigning without timestamp
You may sign a string:
Unsign string (check validity):
Signing / unsigning with timestamp
Note: you may use
Signer::WITH_TIMESTAMP
instead oftrue
as second parameter
Sign string:
Unsign string (check validity):
Unsign string and check max_age (in seconds):
Signing / unsigning object
All versions of django-signer with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0
tuupola/base62 Version ^0.7.0
jms/serializer Version ^1.5.0
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*
tuupola/base62 Version ^0.7.0
jms/serializer Version ^1.5.0
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*
The package kyslik/django-signer contains the following files
Loading the files please wait ....