davidjeddy/yii2-freeradius-module Module to interface with a FreeRADIUS server.

yii2-freeradius-module

Module to interface with a FreeRADIUS server

Badges

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads composer.lock

SensioLabsInsight

REQUIREMENTS

PHP 7+

MySQL 5.5+

FreeRadius

Composer

Yii 2+ (advanced tempplate recommended)

INSTALLATION

  • cd {project root}
  • Run composer require davidjeddy/yii2-freeradius-module in terminal
    • OR add "davidjeddy/yii2-freeradius-module": "dev-master@dev" to your project's composer.json, then composer install.

USAGE

Add the module to the configuration

return [
    ...
    'modules' => [
        ...
        'free-radius' => [
            'class' => davidjeddy\freeradius\Module::class,
        ],
        ...
    ],
];

To add to a typical AdminLTE admin panel:

Edit ./backend/views/layouts/common.php and add the following inside Menu::widget([ ... ]) `

[
    'label'     => Yii::t('backend', 'Free Radius'),
    'icon'      => '<i class="fa fa-id-card-o"></i>',
    'url'       => ['/free-radius/default/index'],
    'visible'   => Yii::$app->user->can('administrator')
],

# TESTING
TODO

# Misc
If the server does not yet have a `RadCheck` table from FreeRadius, run

the modules migration from the project root:

`php ./console/yii migrate/up --migrationPath=./vendor/davidjeddy/yii2-freeradius-module/migration/`


0 0
1 follower
37 downloads
Yii Version: 2.0
License: BSD-3-Clause
Category: Auth
Developed by: David J Eddy
Created on: Apr 10, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions