Download the PHP package urbvik/cuserbase without Composer
On this page you can find all versions of the php package urbvik/cuserbase. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download urbvik/cuserbase
More information about urbvik/cuserbase
Files in urbvik/cuserbase
Package cuserbase
Short Description A simple class for user authorisation to use with AnaxMVC
License MIT
Informations about the package cuserbase
CUserBase
A PHP-based package to use with "AnaxMVC".
I handles the user autorisation process.
HOW TO USE:
-
Create a new (project) folder and install AnaxMVC to it by cloning:
git clone https://github.com/mosbth/Anax-MVC.git.
-
Point browser to the file webroot/hello.php.
- IF it is working then continue.
-
Edit (or create) the file composer.json by adding the folowing line:
"require": {"urbvik/cuserbase": "dev-master"}
-
Also set the stability flags in the composer.json file to:
"minimum-stability": "dev", "prefer-stable" : true,
-
Then validate and install the packages via composer:
composer validate composer install --no-dev
-
Adjust database settings in app/config/config_mysql.php and create database table. Run the attached the file user.sql (located i same folder as this file).
-
Include mos CDatabaseBasics class to the demo project by including the composer generated autoloader. I.e by adding the line:
require "../../../autoload.php";
to the index.php file.
Then point your browser to [project-folder]/vendor/urbvik/cuserbase/webroot/ and the demo site shoud work.
Good Luck!