2017-25 © Pedro Peláez
 

library fisher

Role System

image

artox-lab/fisher

Role System

  • Friday, February 19, 2016
  • by SteepDevs
  • Repository
  • 17 Watchers
  • 0 Stars
  • 2,889 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 1 % Grown

The README.md

Role System

Installation via Composer

{
    "require": {
        "artox-lab/fisher": "1.0.0"
    }
}

Run composer update, (*1)

Setup DB structure

You can install this DB structure using the following command:, (*2)

php init.php

and enter data name database, username for database and password for username., (*3)

Usage

<?php

include 'vendor/autoload.php';

// Username for DB
$username = 'root';

// Password for DB
$password = '123';

// Initial class role system
 $roleSystem = \Fisher\RoleSystem::getInstance('mysql:host=localhost;charset=utf8;dbname=fisher_database', $username, $password);

// User id for db table `re_account_user`
$userId = 95;

// check rule for user
echo $roleSystem->checkAccess($userId, 'admin/catalog/products');

The Versions

19/02 2016

dev-master

9999999-dev https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

19/02 2016

1.0.9

1.0.9.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

19/02 2016

1.0.8

1.0.8.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

19/02 2016

1.0.7

1.0.7.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

19/02 2016

1.0.6

1.0.6.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/09 2015

1.0.5

1.0.5.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/09 2015

1.0.4

1.0.4.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/08 2015

1.0.3

1.0.3.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/08 2015

1.0.0

1.0.0.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/08 2015

1.0.1

1.0.1.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role

03/08 2015

1.0.2

1.0.2.0 https://github.com/artox-lab/fisher.git

Role System

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Pavel Yankovets

auth access role