Download the PHP package coolcsn/csn-user without Composer

On this page you can find all versions of the php package coolcsn/csn-user. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package csn-user

CsnUser

Zend Framework 2 Module

What is CsnUser?

CsnUser is a Module for Authentication based on DoctrineORMModule

What exactly does CsnUser do?

CsnUser has been created with educational purposes to demonstrate how Authentication can be done. It is fully functional.

CsnUser module consists of:

In addition, passwords are encrypted using Bcrypt algorithm.

What's the use again?

An alternative to ZfcUser with more functionality added.

Installation

  1. Installation via composer is supported, simply run: php composer.phar require coolcsn/csn-user:dev-master. The installed module is located in ./vendor/coolcsn/csn-user.

  2. Create Doctrine Proxy cache directory in APP_ROOT/data/DoctrineORMModule/Proxy. Be shure to grant write permissions.

  3. Add CsnUser, DoctrineModule and DoctrineORMModule in your application configuration at: ./config/application.config.php. An example configuration may look like the following :

Configuration

CsnUser requires setting up a Connection for Doctrine, a simple Mail configuration and importing a database schema.

  1. Create a new database (or use an existing one, dedicated to your application).

  2. Copy the sample Doctrine configuration from ./vendor/coolcsn/csn-user/config/doctrineorm.local.php.dist to ./config/autoload renaming it to doctrineorm.local.php. Edit the file, replacing the values (username, password, etc) with your personal database parameters.

  3. Run ./vendor/bin/doctrine-module orm:schema-tool:create to generate the database schema. Import the sample SQL data (for some default data) located in ./vendor/coolcsn/CsnUser/data/SampleData.sql. You can easily do that with PhpMyAdmin for instance.

  4. Copy the sample Mail configuration from ./vendor/coolcsn/csn-user/config/mail.config.local.php.dist to ./config/autoload renaming it to mail.config.local.php. Edit the file, replacing the values (host, username, etc) with your SMTP server parameters.

  5. Append the contents of ./vendor/coolcsn/CsnUser/data/CsnUser.css to APP_ROOT/public/css/styles.css or include CsnUser.css into your app.

Options

The CsnUser module has some options to allow you to quickly customize the basic functionality. After installing CsnUser, copy ./vendor/coolcsn/CsnUser/config/csnuser.global.php.dist to ./config/autoload, renaming it to csnuser.global.php and change the values as desired, following the instructions.

The following options are available:

It is ready?

Navigate to [hostname]/user in your browser to view different options for login, registration, forgotten password, etc.

Routes

The following routes are available:

Dependencies

This Module depends on the following Modules:

Recommends


All versions of csn-user with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
doctrine/doctrine-orm-module Version >=0.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coolcsn/csn-user contains the following files

Loading the files please wait ....