library cuser
A simple class for user authorisation to use with AnaxMVC
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
CUser
A PHP-based package to use with "AnaxMVC"., (*1)
I handles the user autorisation process., (*2)
HOW TO USE:
-
Create a new (project) folder and install AnaxMVC to it by cloning:, (*3)
git clone https://github.com/mosbth/Anax-MVC.git., (*4)
-
Point browser to the file webroot/hello.php., (*5)
- IF it is working then continue., (*6)
-
Edit (or create) the file composer.json by adding the folowing line:, (*7)
"require": {"ericN93/cuser": "dev-master"}, (*8)
-
Also set the stability flags in the composer.json file to:, (*9)
"minimum-stability": "dev",
"prefer-stable" : true,, (*10)
-
Then validate and install the packages via composer:, (*11)
composer validate
composer install --no-dev, (*12)
-
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)
-
Now test login_test.php file thats in your webroot folder.
-username is admin and password is also admin, (*14)
, (*15)
.
..: Copyright (c) 2016 Eric Nilsson
dev-master
9999999-dev
A simple class for user authorisation to use with AnaxMVC
Sources
Download
MIT
The Requires