Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Spatie
UrlSigner
UrlSigner
PHP Interface Spatie\UrlSigner\UrlSigner
Datei anzeigen
Open project: spatie/url-signer
Public Methods
Method
Description
sign
(
string
$url
,
mixed
$expiration
) :
string
Get a secure URL to a controller action.
validate
(
string
$url
) :
boolean
Validate a signed url.
Method Details
sign()
public
method
Get a secure URL to a controller action.
public
sign
(
string
$url
,
mixed
$expiration
) :
string
$url
string
$expiration
mixed
return
string
validate()
public
method
Validate a signed url.
public
validate
(
string
$url
) :
boolean
$url
string
return
boolean