2017 © Pedro Peláez
 

library cuser

A simple class for user authorisation to use with AnaxMVC

image

eric-n93/cuser

A simple class for user authorisation to use with AnaxMVC

  • Thursday, April 28, 2016
  • by ericN93
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CUser

A PHP-based package to use with "AnaxMVC"., (*1)

I handles the user autorisation process., (*2)

HOW TO USE:

  1. Create a new (project) folder and install AnaxMVC to it by cloning:, (*3)

    git clone https://github.com/mosbth/Anax-MVC.git., (*4)

  2. Point browser to the file webroot/hello.php., (*5)

- IF it is working then continue., (*6)

  1. Edit (or create) the file composer.json by adding the folowing line:, (*7)

    "require": {"ericN93/cuser": "dev-master"}, (*8)

  2. Also set the stability flags in the composer.json file to:, (*9)

    "minimum-stability": "dev", "prefer-stable" : true,, (*10)

  3. Then validate and install the packages via composer:, (*11)

    composer validate composer install --no-dev, (*12)

  4. Now you have to pull out some files and put it in thier right place -login_test.php from vendor/eric-n93/cuser/webroot and put it in your webroot folder. -CUser folder from vendor/eric-n93/cuser/src and put it in your app/src folder. -user folder from vendor/eric-n93/cuser/view and put it in your app/view folder., (*13)

  5. Now test login_test.php file thats in your webroot folder. -username is admin and password is also admin, (*14)

Scrutinizer Code Quality Code Coverage Code Coverage Build Status, (*15)

 .  
..:  Copyright (c) 2016 Eric Nilsson

The Versions

28/04 2016

dev-master

9999999-dev

A simple class for user authorisation to use with AnaxMVC

  Sources   Download

MIT

The Requires

  • php >=5.4