Download the PHP package nordsoftware/yii2-account without Composer

On this page you can find all versions of the php package nordsoftware/yii2-account. 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 yii2-account

yii2-account

Build Status Code Climate Latest Stable Version Total Downloads Latest Unstable Version License

A module for the Yii framework that provides common account functionality.

Why do I want this

This project was inspired by both the http://github.com/mishamx/yii-user and https://github.com/dektrium/yii2-user modules and was carefully developed with our expertise in Yii following the best practices of the framework. The module uses Yii's own password methods in , alternatively you can implement our to hash passwords differently. Other features include interfaces for sending mail and creating authentication tokens; various password security features and much more. For more details refer to the features section below.

Features

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Before you can start using the module you need to apply its database migrations. To do so run the following command:

Usage

Once the extension is installed, simply modify your application configuration as follows:

Configuration

The following configurations are available for the class:

Parameters

The following parameters are available for the class:

Usage

Now you should be able to see the login page when you go to the following url:

You can run the following command to generate an account from the command line:

Extending

This project was developed with a focus on re-usability, so before you start copy-pasting take a moment of your time and read through this section to learn how to extend this module properly.

Custom account model

You can use your own account model as long as you add the following fields to it:

Changing the model used by the extension is easy, simply configure it to use your class instead by adding it to the class map for the module:

Custom models

You can use the class map to configure any classes used by the module, here is a complete list of the available classes:

Custom controllers

If you want to use your own controllers you can map them using the module's controller map:

Custom components

If you want to change the components used by the module, here is a complete list of the available interfaces:

You might want to look at the bundled implementations before making your own because we already support e.g. sending mail through Mandrill.

Contribute

If you wish to contribute to this project feel free to create a pull-request to the branch.

Running tests

Coming soon ...

Translate

If you wish to translate this project you can find the translation templates under . When you are done with your translation you should create a pull-request to the branch.


All versions of yii2-account with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
ircmaxell/random-lib Version >=v1.0
yiisoft/yii2 Version >=2.0
yiisoft/yii2-authclient Version >=2.0
yiisoft/yii2-bootstrap Version >=2.0
guzzlehttp/guzzle Version ^6.2
sparkpost/php-sparkpost Version ^1.0
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 nordsoftware/yii2-account contains the following files

Loading the files please wait ....