nocon/nocon-users

User class used to implement user authentication and identification in the NoCon framework.

v1.0.0 2015-04-27 00:01 UTC

This package is not auto-updated.

Last update: 2024-06-08 16:10:08 UTC


README

This is a set of classes used to maintain an application user base from a data source. The classes were developed for the NoCon framework but could theoretically be used in other frameworks and/or applications.

#INSTALLATION

The package can be installed one of two ways, either using composer to load the approriate version into your application vendor directory or by copying the NoCon class directory into the appropriate location for your application.

Install with composer

Add a require statement to your composer.json file then run composer update to load the package.

"require" : {
  "nocon/nocon-users": "dev-master"
}

composer update

Install custom

Download the package zip file and extract the contents to a temporary location. Copy the NoCon/ directory structure to your application's class file location where your autoloader can locate the class.

I.E. To install this package manually in the NoCon framework you download and extract the zip file then copy the NoCon directory into the vendor/ path in your NoCon installation.

DEVELOPING

The NoCon-Users packages utilizes PHP PDO for data storage. A set of sample files are provided to assist in setting up a demo in a NoCon framework. This includes sample database configurations, SQL statements to create the required tables, and a view with a login form and administration forms to use with a sample database.