Download the PHP package webtoolsnz/yii2-require-login without Composer
On this page you can find all versions of the php package webtoolsnz/yii2-require-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webtoolsnz/yii2-require-login
More information about webtoolsnz/yii2-require-login
Files in webtoolsnz/yii2-require-login
Download webtoolsnz/yii2-require-login
More information about webtoolsnz/yii2-require-login
Files in webtoolsnz/yii2-require-login
Vendor webtoolsnz
Package yii2-require-login
Short Description Simple component that enforces a blanket authentication requirement for all controller/actions.
License proprietary
Homepage https://github.com/webtoolsnz/yii2-require-login
Package yii2-require-login
Short Description Simple component that enforces a blanket authentication requirement for all controller/actions.
License proprietary
Homepage https://github.com/webtoolsnz/yii2-require-login
Please rate this library. Is it a good library?
Informations about the package yii2-require-login
Require Login for Yii2 Application
Simple component that enforces a blanket authentication requirement for all controller/actions.
Provides a configurable list of exceptions.
Installation
The preferred way to install this extension is through composer.
Add the following to your composer.json
file.
"require" : {
"webtoolsnz/yii2-require-login": "*"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.webtools.nz"
}
]
Configuration Examples
Basic Configuration
...
'components' => [
'requireLogin' => [
'class' => 'webtoolsnz\RequireLogin\Component',
]
],
...
Custom Exception List
yii2-require-login
will by default provide a list of basic route exceptions including: login
logout
you can override this list with your own list using the below config.
...
'components' => [
'requireLogin' => [
'class' => 'webtoolsnz\RequireLogin\Component',
'exceptions' => [
'/login',
'/logout',
'/my-controller/foo'
]
]
],
...
License
The MIT License (MIT). Please see LICENSE for more information.
All versions of yii2-require-login with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package webtoolsnz/yii2-require-login contains the following files
Loading the files please wait ....